Strange error, can you help??

From: Date: Mon, 24 Jul 2000 17:44:31 +0000
Subject: Strange error, can you help??
Groups: php.general 
Request: Send a blank email to php-general+get-7938@lists.php.net to get a copy of this message
The error says: Parse error: parse error in /usr/local/etc/httpd/htdocs/dk/tipsNEW.php3 on line 134 But there is only 133 lines, what can that be?? I'm happy for any help....:-)) Best Reagrds, Henrik Here's the code: _____________________________________________________ <html> <head> <title></title> <base target="_self"> </head> <!--Inds&aelig;tter overskrift--> <body bgcolor="#ffffff" link="blue" alink="blue" vlink="blue"> <FORM METHOD="post" ACTION="tipsNEW.php3"> <table border="0" cellpadding="0" cellspacing="0" width="0" height="0"> <tr> <td valign="bottom" colspan="0" height="38" width="667"><font face="Arial" size="6" color="#000080"><a name="Til Top">Tips</a> om </font> <select onChange="top.location.href=this.options[this.selectedIndex].value" size="1" name="kategori" style="position: relative; height: 12; font-size: 12 px; font-family: arial; border-style: inset; border-width: 1"> <? // Vaelger Kategori $kategori == 1; $sqlstring="select * from tblFaqKategori"; require ("ct.inc"); $result = mysql('datab', $sqlstring); $num = mysql_numrows($result); $i=0; while($i<$num){ echo '<option'; if ($kategori == mysql_result($result,$i,0)) echo ' Selected'; } echo ' value="tipsNEW.php3?kategori='; echo mysql_result($result,$i,0); echo '">'; echo mysql_result($result,$i,1); echo '</option>'; $i++; } if ($kategori == '') echo '<option Selected value="">V&aelig;lg Kategori</option></select>'; } echo '</select> <input type="hidden" value="V&aelig;lg">'; echo '</form>'; echo "\n"; // echo $kategori; echo '</font>'; echo '</td>'; echo '</tr>'; echo '</table>'; echo '<i>Oftest stillede sp&oslash;rgsm&aring;l....</i>'; // Select alt fra Kategorien $sqlstring="SELECT * from tblFaqTips where (tblFaqTips.Kategori = $kategori)"; require ("ct.inc"); $result = mysql('datab', $sqlstring); // Sproergsmaals delen if ($result !=0){ $num = mysql_numrows($result); $i=0; $forrige =''; while($i<$num){ echo '<table>'; echo '<tr valign="bottom">'; echo '<td width="15%" valign="bottom" height="20" align="left">'; echo '<font FACE="Arial" SIZE="2" COLOR="#000000">'; if ($kategori!=(mysql_result($result,$i,'Kategori'))){ echo '<a href="tipsNEW.php3?Kategori='; echo mysql_result($result,$i,'Kategori'); echo '">'; } else{ echo ''; echo '<font face="Arial" size="2" color="#000000">'; echo '<a href="#'; echo mysql_result($result,$i,'FaqID'); echo '">'; echo mysql_result($result,$i,'Spm'); echo '</a>'; echo '</td>'; echo '</tr>'; echo '</table>'; $i++; echo "\n"; } } echo '<hr>'; // Svar del echo '<i>Og deres svar....</i>'; if ($result !=0){ $num = mysql_numrows($result); $i=0; $forrige =''; while($i<$num){ echo '<table border="0" width="100%">'; echo '<tr valign="bottom">'; echo '<td valign="bottom" height="20" align="left">'; echo '<font FACE="Arial" SIZE="2" COLOR="#000000">'; if ($kategori!=(mysql_result($result,$i,'Kategori'))){ echo '<a href="tipsNEW.php3?Kategori='; echo mysql_result($result,$i,'Kategori'); echo '">'; } else{ echo ''; echo '<font face="Arial" size="2" color="#000000">'; echo '<a name="'; echo mysql_result($result,$i,'FaqID'); echo '">'; echo '&nbsp;'; echo '</a>'; echo '<br>'; echo '<i>'; echo mysql_result($result,$i,'Spm'); echo '</i><br>'; echo mysql_result($result,$i,'Svr'); echo '</td></tr><tr><td>'; echo '<div align="center"> <a href="#Til Top">Til Top</a></div>'; echo '<hr>'; echo '</td>'; echo '</tr>'; echo '</table>'; $i++; echo "\n"; } } ?> <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br> <br><br><br><br><br><br><br><br><br><br><br> </body> </html>

« previous php.general (#7938) next »