NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page little error

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 08-08-2005, 10:34 AM THREAD STARTER               #1 (permalink)
NamePros Regular
 
edmarriner's Avatar
Join Date: Apr 2005
Location: England :D
Posts: 834
edmarriner is a jewel in the roughedmarriner is a jewel in the roughedmarriner is a jewel in the rough
 



little error


ok, i have a very small error in this code. i know where the error is because if i remove that bit it works fine. I think the problem is one ' } ' or ' { ' is in the wrong place or needed some where.
the error im geting is :

Quote:
Parse error: parse error, unexpected T_ELSE in C:\apache2triad\htdocs\topsites\silk\admin\index.p hp on line 131

all the code:
PHP Code:
<HTML>
<HEAD>
<TITLE>Admin Area</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
body {
    background-color: #646464;
}
.style1 {
    font-size: 36px;
    font-weight: bold;
}
.header {
    font-size: 36px;
    font-weight: bold;
}
-->
</style>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</HEAD>
<BODY LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 onLoad="MM_preloadImages('images/nav_roll_10.jpg','images/nav_roll_12.jpg','images/nav_roll_13.jpg','images/nav_roll_14.jpg')">
<div align="center">
  <table width="200" border="0">
    <tr>
      <th scope="col">
        <!-- ImageReady Slices (odd.psd - Slices: 01, 03, 04, 05, 06, 07, 08, 09, 16, 18, 19) -->
        <TABLE WIDTH=519 BORDER=0 align="left" CELLPADDING=0 CELLSPACING=0>
          <TR>
            <TD COLSPAN=4> <IMG src="http://cdn.namepros.com/images/left_01.jpg" WIDTH=519 HEIGHT=10 ALT=""></TD>
            <TD> <IMG src="http://cdn.namepros.com/images/spacer.gif" WIDTH=1 HEIGHT=10 ALT=""></TD>
          </TR>
          <TR>
            <TD> <IMG src="http://cdn.namepros.com/images/left_03.jpg" WIDTH=69 HEIGHT=31 ALT=""></TD>
            <TD> <IMG src="http://cdn.namepros.com/images/left_04.jpg" WIDTH=36 HEIGHT=31 ALT=""></TD>
            <TD> <img src="http://cdn.namepros.com/images/odd_05.jpg" width="401" height="31"></TD>
            <TD> <IMG src="http://cdn.namepros.com/images/left_06.jpg" WIDTH=13 HEIGHT=31 ALT=""></TD>
            <TD> <IMG src="http://cdn.namepros.com/images/spacer.gif" WIDTH=1 HEIGHT=31 ALT=""></TD>
          </TR>
          <TR>
            <TD ROWSPAN=2 background="images/left_07.jpg">&nbsp; </TD>
            <TD COLSPAN=2 ROWSPAN=2 valign="top" background="images/left_08.jpg"><div align="center" class="header">&nbsp;              <?PHP if(!isset($title)){ echo"DASHBOARD";}else{ echo $title; } ?></div>
              <p align="center"><?php if ($title == "CONFIG"){
              if(
$_POST['submit']){
              if(empty(
$_POST['name'])){
              
$name FALSE;
              
$message .="<p> you forgot to enter the sites name</p>";
              
              } else {
              
$n $_POST['name'];
              }
              if(empty(
$_POST['URL'])){
              
$UR FALSE;
              
$message .="<p> you forgot to enter the sites URL (web address)</p>";
              
              } else {
              
$UR $_POST['URL'];
              }
                if(empty(
$_POST['email'])){
              
$em FALSE;
              
$message .="<p> you forgot to enter your email address</p>";
              
              } else {
              
$em $_POST['email'];
              }
                if(empty(
$_POST['slogan'])){
              
$sl FALSE;
              
$message .="<p> you forgot to enter the sites slogan / tag-line</p>";
              
              } else {
              
$sl $_POST['slogan'];
????: NamePros.com http://www.namepros.com/programming/113744-little-error.html
              }
                if(empty(
$_POST['subject'])){
              
$su FALSE;
              
$message .="<p> you forgot to enter the sites subject</p>";
              
              } else {
              
$su $_POST['subject'];
              }
                if(empty(
$_POST['description'])){
              
$de FALSE;
              
$message .="<p> you forgot to enter the sites description</p>";
              
              } else {
              
$de $_POST['description'];
              }
               if(empty(
$_POST['keywords'])){
              
$ke FALSE;
              
$message .="<p> you forgot to enter the sites keywords</p>";
              
              } else {
              
$ke $_POST['keywords'];
              }
               if(empty(
$_POST['title'])){
              
$ti FALSE;
              
$message .="<p> you forgot to enter the sites title</p>";
              
              } else {
              
$ti $_POST['title'];
              }
              }
              if(
$n && $UR && $em && $sl && $su && $de && $ke && $ti){
              
$query "INSERT INTO (site_name, site_url, site_slogan, site_subject, meta_keywords, meta_description, meta_short_description, site_email) VALUES ('$n', '$UR', '$sl', '$su', '$ke', '$de', '$title')";
              
$result = @mysql_query($query);
              if(
$result){echo"<p>Updated Config!</p>";}else{ echo"<p>The config could not be updated</p><p>" mysql_error() . "</p>";
              }else{ echo 
$message; }
              }else{
              echo
"<style type='text/css'>
<!--
.style1 {font-size: 12px}
.style6 {
    font-size: 14px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-weight: bold;
}
.style8 {font-family: Georgia, 'Times New Roman', Times, serif}
.style11 {font-size: 14px}
.style13 {
    font-size: 14px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-weight: bold;
}
a:link {
    color: #000000;
    text-decoration: none;
}
a:visited {
    text-decoration: none;
    color: #000000;
}
a:hover {
    text-decoration: none;
    color: #000000;
}
a:active {
    text-decoration: none;
    color: #000000;
}
.style15 {font-size: 9px}
-->
</style>
<div align='center'>
  <form name='form1' method='post' action=''>
    <table width='409' border='0' cellpadding='5' cellspacing='5'>
      <tr bgcolor='#CCCCCC'>
        <th bgcolor='#ECE9D8' scope='row'><em><strong><a href='#' title='note: move your mouse over any text in the White Background to show a message'>item <br>
                <span class='style15'>(roll over text)</span></a></strong></em></th>
        <td bgcolor='#CCCCCC'><em><strong>input</strong></em></td>
        <td bgcolor='#999999'><em><strong>examples</strong></em></td>
      </tr>
      <tr bgcolor='#CCCCCC'>
        <th width='87' bgcolor='#ECE9D8' scope='row'><div align='center' class='style6 style8'><a href='#' title='your sites name'>site name</a> </div></th>
        <td width='144' bgcolor='#CCCCCC'><input name='name' type='text' id='name'></td>
        <td width='140' bgcolor='#999999'><span class='style1'>games for you </span></td>
      </tr>
      <tr>
        <th bgcolor='#ECE9D8' scope='row'><div align='center' class='style11 style8'><a href='#' title='Your sites URL'><strong>site url</strong></a></div></th>
        <td bgcolor='#CCCCCC'><input name='url' type='text' id='url' value='http://'></td>
        <td bgcolor='#999999'><span class='style1'>http://www.games4you.com/</span></td>
      </tr>
      <tr bgcolor='#CCCCCC'>
        <th bgcolor='#ECE9D8' scope='row'><div align='center' class='style13'><a href='#'title='Youe email address'>site email </a></div></th>
        <td bgcolor='#CCCCCC'><input name='email' type='text' id='email'></td>
        <td bgcolor='#999999'><span class='style1'>admin@games4you.com</span></td>
      </tr>
      <tr>
        <th bgcolor='#ECE9D8' scope='row'><div align='center' class='style13'><a href='#'title='Your sites slogan / tag-line'>site slogan</a></div></th>
        <td bgcolor='#CCCCCC'><input name='slogan' type='text' id='slogan'></td>
        <td bgcolor='#999999'><span class='style1'>The worlds best gaming sites brought to you! </span></td>
      </tr>
      <tr bgcolor='#CCCCCC'>
        <th bgcolor='#ECE9D8' scope='row'><div align='center' class='style13'><a href='#'title='The subject of your topsites site'>site subject</a></div></th>
        <td bgcolor='#CCCCCC'><input name='subject' type='text' id='subject'></td>
        <td bgcolor='#999999'><span class='style1'>online gaming</span></td>
      </tr>
      <tr>
        <th bgcolor='#ECE9D8' scope='row'><div align='center' class='style13'><a href='#'title='a description of your site '>site description </a></div></th>
        <td bgcolor='#CCCCCC'><textarea name='description' cols='15' id='description'></textarea></td>
        <td bgcolor='#999999'><span class='style1'>games4you has the top 10 online gaming sites on the net listed! Come and see whos the best gaming site! </span></td>
      </tr>
      <tr bgcolor='#CCCCCC'>
        <th bgcolor='#ECE9D8' scope='row'><div align='center' class='style13'><a href='#'title='keywords for your site '>site keywords </a></div></th>
        <td bgcolor='#CCCCCC'><input name='keywords' type='text' id='keywords' value=''></td>
        <td bgcolor='#999999'><span class='style1'>gaming,online gaming,top 10 game sites </span></td>
      </tr>
      <tr>
        <th bgcolor='#ECE9D8' scope='row'><div align='center' class='style13'><a href='#'title='a summary of your site '>site title</a></div></th>
        <td bgcolor='#CCCCCC'><input name='title' type='text' id='title'></td>
        <td bgcolor='#999999'><span class='style1'>A topsite site with the 10 best gaming sites listed</span></td>
      </tr>
      <tr bgcolor='#CCCCCC'>
        <td bgcolor='#ECE9D8' scope='row'><div align='center'><span class='style11'></span></div></td>
        <td bgcolor='#CCCCCC'><input type='text' name='textfield9'></td>
        <td bgcolor='#999999'><span class='style1'></span></td>
      </tr>
      <tr>
        <td bgcolor='#ECE9D8' scope='row'><div align='center'><span class='style11'></span></div></td>
        <td bgcolor='#CCCCCC'><input type='text' name='textfield10'></td>
        <td bgcolor='#999999'><span class='style1'></span></td>
      </tr>
      <tr>
        <td bgcolor='#ECE9D8' scope='row'><div align='center'><span class='style11'></span></div></td>
        <td bgcolor='#CCCCCC'><input type='text' name='textfield11'></td>
        <td bgcolor='#999999'><span class='style1'></span></td>
      </tr>
      <tr>
        <td bgcolor='#ECE9D8' scope='row'><div align='center'><span class='style11'></span></div></td>
        <td bgcolor='#CCCCCC'><input type='text' name='textfield12'></td>
        <td bgcolor='#999999'><span class='style1'></span></td>
      </tr>
      <tr>
        <td bgcolor='#ECE9D8' scope='row'><div align='center'><span class='style11'></span></div></td>
        <td bgcolor='#CCCCCC'><input type='text' name='textfield13'></td>
        <td bgcolor='#999999'><span class='style1'></span></td>
      </tr>
      <tr>
        <td bgcolor='#ECE9D8' scope='row'><div align='center'><span class='style11'></span></div></td>
        <td bgcolor='#CCCCCC'><input type='text' name='textfield14'></td>
        <td bgcolor='#999999'><span class='style1'></span></td>
      </tr>
      <tr>
        <td bgcolor='#ECE9D8' scope='row'><div align='center'><span class='style11'></span></div></td>
        <td bgcolor='#CCCCCC'><input type='text' name='textfield15'></td>
????: NamePros.com http://www.namepros.com/showthread.php?t=113744
        <td bgcolor='#999999'><span class='style1'></span></td>
      </tr>
    </table>
    <p>
      <input type='submit' name='Submit' value='Submit'>
    </p>
  </form>
</div>

"
; }?>
              
              
              &nbsp;</p>
            </TD>
            <TD background="images/left_09.jpg">&nbsp; </TD>
            <TD> <IMG src="http://cdn.namepros.com/images/spacer.gif" WIDTH=1 HEIGHT=388 ALT=""></TD>
          </TR>
          <TR>
            <TD ROWSPAN=2 valign="bottom" background="images/left_09.jpg"> <img src="http://cdn.namepros.com/images/left_16.jpg" alt="" width=13 height=51 align="absbottom"></TD>
            <TD> <IMG src="http://cdn.namepros.com/images/spacer.gif" WIDTH=1 HEIGHT=14 ALT=""></TD>
          </TR>
          <TR>
            <TD> <IMG src="http://cdn.namepros.com/images/left_18.jpg" WIDTH=69 HEIGHT=37 ALT=""></TD>
            <TD COLSPAN=2> <IMG src="http://cdn.namepros.com/images/left_19.jpg" WIDTH=437 HEIGHT=37 ALT=""></TD>
            <TD> <IMG src="http://cdn.namepros.com/images/spacer.gif" WIDTH=1 HEIGHT=37 ALT=""></TD>
          </TR>
        </TABLE>
        <!-- ImageReady Slices (odd.psd - Slices: 02, 03, 04, 05, 06, 07, 08, 09) -->
        <TABLE WIDTH=121 BORDER=0 CELLPADDING=0 CELLSPACING=0>
          <TR>
            <TD COLSPAN=2> <IMG src="http://cdn.namepros.com/images/index_02.jpg" WIDTH=121 HEIGHT=56 ALT=""></TD>
            <TD> <IMG src="http://cdn.namepros.com/images/spacer.gif" WIDTH=1 HEIGHT=56 ALT=""></TD>
          </TR>
          <TR>
            <TD> <a href="index.php?title=DASHBOARD" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('dash','','images/nav_roll_10.jpg',1)"><img src="http://cdn.namepros.com/images/index_03.jpg" alt="dashboard" name="dash" width="73" height="118" border="0"></a></TD>
            <TD ROWSPAN=4> <IMG src="http://cdn.namepros.com/images/index_04.jpg" WIDTH=48 HEIGHT=362 ALT=""></TD>
            <TD> <IMG src="http://cdn.namepros.com/images/spacer.gif" WIDTH=1 HEIGHT=118 ALT=""></TD>
          </TR>
          <TR>
            <TD> <a href="index.php?title=CONFIG" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('config','','images/nav_roll_12.jpg',1)"><img src="http://cdn.namepros.com/images/index_05.jpg" alt="config" name="config" width="73" height="89" border="0"></a></TD>
            <TD> <IMG src="http://cdn.namepros.com/images/spacer.gif" WIDTH=1 HEIGHT=89 ALT=""></TD>
          </TR>
          <TR>
            <TD> <a href="index.php?title=TOPSITES" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('topsites','','images/nav_roll_13.jpg',1)"><img src="http://cdn.namepros.com/images/index_06.jpg" alt="topsites" name="topsites" width="73" height="102" border="0"></a></TD>
            <TD> <IMG src="http://cdn.namepros.com/images/spacer.gif" WIDTH=1 HEIGHT=102 ALT=""></TD>
          </TR>
          <TR>
            <TD ROWSPAN=2> <a href="index.php?title=HELP" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('help','','images/nav_roll_14.jpg',1)"><img src="http://cdn.namepros.com/images/index_07.jpg" alt="help" name="help" width="73" height="64" border="0"></a></TD>
            <TD> <IMG src="http://cdn.namepros.com/images/spacer.gif" WIDTH=1 HEIGHT=53 ALT=""></TD>
          </TR>
          <TR>
            <TD ROWSPAN=2> <IMG src="http://cdn.namepros.com/images/index_08.jpg" WIDTH=48 HEIGHT=62 ALT=""></TD>
            <TD> <IMG src="http://cdn.namepros.com/images/spacer.gif" WIDTH=1 HEIGHT=11 ALT=""></TD>
          </TR>
          <TR>
            <TD> <IMG src="http://cdn.namepros.com/images/index_09.jpg" WIDTH=73 HEIGHT=51 ALT=""></TD>
            <TD> <IMG src="http://cdn.namepros.com/images/spacer.gif" WIDTH=1 HEIGHT=51 ALT=""></TD>
          </TR>
        </TABLE>
        <!-- End ImageReady Slices -->
        <!-- End ImageReady Slices --></th>
    </tr>
  </table>
</div>
</BODY>
</HTML>
error part:
PHP Code:
 if($_POST['submit']){
              if(empty(
$_POST['name'])){
              
$name FALSE;
              
$message .="<p> you forgot to enter the sites name</p>";
              
              } else {
              
$n $_POST['name'];
              }
              if(empty(
$_POST['URL'])){
              
$UR FALSE;
              
$message .="<p> you forgot to enter the sites URL (web address)</p>";
              
              } else {
              
$UR $_POST['URL'];
              }
                if(empty(
$_POST['email'])){
              
$em FALSE;
              
$message .="<p> you forgot to enter your email address</p>";
              
              } else {
              
$em $_POST['email'];
              }
                if(empty(
$_POST['slogan'])){
              
$sl FALSE;
              
$message .="<p> you forgot to enter the sites slogan / tag-line</p>";
              
              } else {
              
$sl $_POST['slogan'];
              }
                if(empty(
$_POST['subject'])){
              
$su FALSE;
              
$message .="<p> you forgot to enter the sites subject</p>";
              
              } else {
              
$su $_POST['subject'];
              }
                if(empty(
$_POST['description'])){
              
$de FALSE;
              
$message .="<p> you forgot to enter the sites description</p>";
              
              } else {
              
$de $_POST['description'];
              }
               if(empty(
$_POST['keywords'])){
              
$ke FALSE;
              
$message .="<p> you forgot to enter the sites keywords</p>";
              
              } else {
              
$ke $_POST['keywords'];
              }
               if(empty(
$_POST['title'])){
              
$ti FALSE;
              
$message .="<p> you forgot to enter the sites title</p>";
              
              } else {
              
$ti $_POST['title'];
              }
              }
              if(
$n && $UR && $em && $sl && $su && $de && $ke && $ti){
              
$query "INSERT INTO (site_name, site_url, site_slogan, site_subject, meta_keywords, meta_description, meta_short_description, site_email) VALUES ('$n', '$UR', '$sl', '$su', '$ke', '$de', '$title')";
              
$result = @mysql_query($query);
              if(
$result){echo"<p>Updated Config!</p>";}else{ echo"<p>The config could not be updated</p><p>" mysql_error() . "</p>";
              }else{ echo 
$message; }
              }else{ 
any help guys?

thanks

-ed
__________________
Leeds united football club


edmarriner is offline  
Old 08-08-2005, 11:00 AM   #2 (permalink)
NamePros Member
 
Icespadez's Avatar
Join Date: Apr 2005
Location: Boston, MA
Posts: 26
Icespadez is an unknown quantity at this point
 



Check out line 124:

PHP Code:
if($result){echo"<p>Updated Config!</p>";}else{ echo"<p>The config could not be updated</p><p>" mysql_error() . "</p>"
????: NamePros.com http://www.namepros.com/showthread.php?t=113744
Try adding a } to the end
PHP Code:
if ($result) {
    echo
"<p>Updated Config!</p>";
}else{
    echo
"<p>The config could not be updated</p><p>" mysql_error() . "</p>";

Icespadez is offline  
Old 08-08-2005, 11:10 AM   #3 (permalink)
Senior Member
 
Porte's Avatar
Join Date: May 2005
Location: I'm right here
Posts: 3,526
Porte has much to be proud ofPorte has much to be proud ofPorte has much to be proud ofPorte has much to be proud ofPorte has much to be proud ofPorte has much to be proud ofPorte has much to be proud ofPorte has much to be proud ofPorte has much to be proud of
 



Quote:
if($n && $UR && $em && $sl && $su && $de && $ke && $ti){
$query = "INSERT INTO (site_name, site_url, site_slogan, site_subject, meta_keywords, meta_description, meta_short_description, site_email) VALUES ('$n', '$UR', '$sl', '$su', '$ke', '$de', '$title')";
$result = @mysql_query($query);

if($result){
echo"<p>Updated Config!</p>";
}else{
echo"<p>The config could not be updated</p><p>" . mysql_error() . "</p>";
????: NamePros.com http://www.namepros.com/showthread.php?t=113744
}


} else {
echo $message;
}
You have if inside if, but you used else without closing the sub if statement.
__________________
WP Theme Developer
Your One-stop for Premium Magazine/CMS WordPress Themes
Deluxe Themes
Porte is offline  
Old 08-08-2005, 11:27 AM THREAD STARTER               #4 (permalink)
NamePros Regular
 
edmarriner's Avatar
Join Date: Apr 2005
Location: England :D
Posts: 834
edmarriner is a jewel in the roughedmarriner is a jewel in the roughedmarriner is a jewel in the rough
 



WOW . THANKYOU!!!!!!!!!!!

i used both and it worked!


all my np$ coming to you both! (split 50/50)
------------------------------EDIT--------------------------------------
ok , i just seen that i do have a bit of a error. well not error but its not working how it should.

ok , i have the code:

PHP Code:
if ($title == "CONFIG"){ 
so the code should only work if the var title is CONFIG but now whatever title is it displays this code:

PHP Code:
 echo"<style type='text/css'>
<!--
.style1 {font-size: 12px}
.style6 {
    font-size: 14px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-weight: bold;
}
.style8 {font-family: Georgia, 'Times New Roman', Times, serif}
.style11 {font-size: 14px}
.style13 {
    font-size: 14px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-weight: bold;
}
a:link {
    color: #000000;
    text-decoration: none;
}
a:visited {
    text-decoration: none;
    color: #000000;
}
a:hover {
    text-decoration: none;
????: NamePros.com http://www.namepros.com/showthread.php?t=113744
    color: #000000;
}
a:active {
    text-decoration: none;
    color: #000000;
}
.style15 {font-size: 9px}
-->
</style>
<div align='center'>
  <form name='form1' method='post' action=''>
    <table width='409' border='0' cellpadding='5' cellspacing='5'>
      <tr bgcolor='#CCCCCC'>
        <th bgcolor='#ECE9D8' scope='row'><em><strong><a href='#' title='note: move your mouse over any text in the White Background to show a message'>item <br>
                <span class='style15'>(roll over text)</span></a></strong></em></th>
        <td bgcolor='#CCCCCC'><em><strong>input</strong></em></td>
        <td bgcolor='#999999'><em><strong>examples</strong></em></td>
      </tr>
      <tr bgcolor='#CCCCCC'>
        <th width='87' bgcolor='#ECE9D8' scope='row'><div align='center' class='style6 style8'><a href='#' title='your sites name'>site name</a> </div></th>
        <td width='144' bgcolor='#CCCCCC'><input name='name' type='text' id='name'></td>
        <td width='140' bgcolor='#999999'><span class='style1'>games for you </span></td>
      </tr>
      <tr>
        <th bgcolor='#ECE9D8' scope='row'><div align='center' class='style11 style8'><a href='#' title='Your sites URL'><strong>site url</strong></a></div></th>
        <td bgcolor='#CCCCCC'><input name='url' type='text' id='url' value='http://'></td>
        <td bgcolor='#999999'><span class='style1'>http://www.games4you.com/</span></td>
      </tr>
      <tr bgcolor='#CCCCCC'>
        <th bgcolor='#ECE9D8' scope='row'><div align='center' class='style13'><a href='#'title='Youe email address'>site email </a></div></th>
        <td bgcolor='#CCCCCC'><input name='email' type='text' id='email'></td>
        <td bgcolor='#999999'><span class='style1'>admin@games4you.com</span></td>
      </tr>
      <tr>
        <th bgcolor='#ECE9D8' scope='row'><div align='center' class='style13'><a href='#'title='Your sites slogan / tag-line'>site slogan</a></div></th>
        <td bgcolor='#CCCCCC'><input name='slogan' type='text' id='slogan'></td>
        <td bgcolor='#999999'><span class='style1'>The worlds best gaming sites brought to you! </span></td>
      </tr>
      <tr bgcolor='#CCCCCC'>
        <th bgcolor='#ECE9D8' scope='row'><div align='center' class='style13'><a href='#'title='The subject of your topsites site'>site subject</a></div></th>
        <td bgcolor='#CCCCCC'><input name='subject' type='text' id='subject'></td>
        <td bgcolor='#999999'><span class='style1'>online gaming</span></td>
      </tr>
      <tr>
        <th bgcolor='#ECE9D8' scope='row'><div align='center' class='style13'><a href='#'title='a description of your site '>site description </a></div></th>
        <td bgcolor='#CCCCCC'><textarea name='description' cols='15' id='description'></textarea></td>
        <td bgcolor='#999999'><span class='style1'>games4you has the top 10 online gaming sites on the net listed! Come and see whos the best gaming site! </span></td>
      </tr>
      <tr bgcolor='#CCCCCC'>
        <th bgcolor='#ECE9D8' scope='row'><div align='center' class='style13'><a href='#'title='keywords for your site '>site keywords </a></div></th>
        <td bgcolor='#CCCCCC'><input name='keywords' type='text' id='keywords' value=''></td>
        <td bgcolor='#999999'><span class='style1'>gaming,online gaming,top 10 game sites </span></td>
      </tr>
      <tr>
        <th bgcolor='#ECE9D8' scope='row'><div align='center' class='style13'><a href='#'title='a summary of your site '>site title</a></div></th>
        <td bgcolor='#CCCCCC'><input name='title' type='text' id='title'></td>
        <td bgcolor='#999999'><span class='style1'>A topsite site with the 10 best gaming sites listed</span></td>
      </tr>
      <tr bgcolor='#CCCCCC'>
        <td bgcolor='#ECE9D8' scope='row'><div align='center'><span class='style11'></span></div></td>
        <td bgcolor='#CCCCCC'><input type='text' name='textfield9'></td>
        <td bgcolor='#999999'><span class='style1'></span></td>
????: NamePros.com http://www.namepros.com/showthread.php?t=113744
      </tr>
      <tr>
        <td bgcolor='#ECE9D8' scope='row'><div align='center'><span class='style11'></span></div></td>
        <td bgcolor='#CCCCCC'><input type='text' name='textfield10'></td>
        <td bgcolor='#999999'><span class='style1'></span></td>
      </tr>
      <tr>
        <td bgcolor='#ECE9D8' scope='row'><div align='center'><span class='style11'></span></div></td>
        <td bgcolor='#CCCCCC'><input type='text' name='textfield11'></td>
        <td bgcolor='#999999'><span class='style1'></span></td>
      </tr>
      <tr>
        <td bgcolor='#ECE9D8' scope='row'><div align='center'><span class='style11'></span></div></td>
        <td bgcolor='#CCCCCC'><input type='text' name='textfield12'></td>
        <td bgcolor='#999999'><span class='style1'></span></td>
      </tr>
      <tr>
        <td bgcolor='#ECE9D8' scope='row'><div align='center'><span class='style11'></span></div></td>
        <td bgcolor='#CCCCCC'><input type='text' name='textfield13'></td>
        <td bgcolor='#999999'><span class='style1'></span></td>
      </tr>
      <tr>
        <td bgcolor='#ECE9D8' scope='row'><div align='center'><span class='style11'></span></div></td>
        <td bgcolor='#CCCCCC'><input type='text' name='textfield14'></td>
        <td bgcolor='#999999'><span class='style1'></span></td>
      </tr>
      <tr>
        <td bgcolor='#ECE9D8' scope='row'><div align='center'><span class='style11'></span></div></td>
        <td bgcolor='#CCCCCC'><input type='text' name='textfield15'></td>
        <td bgcolor='#999999'><span class='style1'></span></td>
      </tr>
    </table>
    <p>
      <input type='submit' name='Submit' value='Submit'>
    </p>
  </form>
</div>

"

__________________
Leeds united football club


Last edited by edmarriner; 08-08-2005 at 11:36 AM.
edmarriner is offline  
Old 08-08-2005, 12:48 PM   #5 (permalink)
Senior Member
 
Porte's Avatar
Join Date: May 2005
Location: I'm right here
Posts: 3,526
Porte has much to be proud ofPorte has much to be proud ofPorte has much to be proud ofPorte has much to be proud ofPorte has much to be proud ofPorte has much to be proud ofPorte has much to be proud ofPorte has much to be proud ofPorte has much to be proud of
 



Please explain a bit.. if ($title == "CONFIG") .. do what? I mean the code part which is reponsible for the IF statement.
__________________
WP Theme Developer
Your One-stop for Premium Magazine/CMS WordPress Themes
Deluxe Themes
Porte is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Php Error *NP for whoever fixes it* Mike_Wiseman Programming 19 07-05-2005 08:06 AM
mySQL error in IPB when trying to create a new forum... please look matrics Programming 3 07-05-2005 02:12 AM
Parse error: parse error, unexpected $ efriese Programming 4 06-28-2005 05:55 AM

Liquid Web Smart Servers  
All times are GMT -7. The time now is 08:37 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger