hey guys..
i get an error in this code: can someone look through and say whats wrong?
[CODE]
<form action=”index.php?p=itm1″ method=”post”>
<table border=”0″ cellpading=”1″ cellspacing=”0″>
<TR><TD height=”50″ class=”titles” colspan=”3″ align=”center”> თუ გსურსთ მენიუს დაამატოთ ახალი ჩანართი, ჩაწერეთ ახალი ჩანართის სახელი</TD></TR>
<TD align=”center”><input class=”login” type=”text” name=”item”></TD>
<TD><input class=”loginbutton” type=”submit” value=”დაამატე ახალი ერთეული”></TD>
</TR>
</table>
</form>
<br /><br />
<?php
include(“includes/vars.php”);
mysql_connect(“$hostname”, “$username”, “$password”) or die(mysql_error());
mysql_select_db(“$database”) or die(mysql_error());
$query = “SELECT * FROM $navigation ORDER BY id ASC”;
$result = mysql_query($query) or die(mysql_error());
while($row = mysql_fetch_array($result))
{
print “<form ection=”update_menu.php method=”post”>”;
print “<table class=’titles’ border=’0′ cellpadding=’0′ cellspacing=’0′ width=’100%’>”;
print “<TR><TD style=”BORDER-TOP:1px #f9f9f9 solid; BORDER-BOTTOM:1px #f9f9f9 solid; BORDER-RIGHT:1px #f9f9f9 solid; BORDER-LEFT:1px #f9f9f9 solid;”; height=’30’><input type=”text” size=”50″ value=”.$row[‘item’].”></TD></TR>”;
print “</table>”;
}
?>