Jump to content

[SOLVED] simple, simple question


woodsonoversoul

Recommended Posts

I'll start off by saying sorry, I know this is a dumb question I should know the answer to, but I don't, so my problem is getting this output:

 

Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /var/www/spindex/display.php on line 56

 

Which is a reference to this block of code:

 

52 echo $row[0];

53 echo "category  location  price";

54        echo "<table cellpadding=10 border=1>";

55        while($row = $result->fetch_array()) {

56            echo "<div id="navcontainer">";

57     echo "<ul>";

58            echo "<li>".$row[2]."</li>";

59     echo "<li>".$row[3]."</li>";

60     echo "<li>".$row[4]."</li>";

61            echo "<li><a 62href=".$_SERVER['PHP_SELF']."?id=".$row[0].">Delete</a></li>";

63            echo "</ul>";

64 echo "</div>";

 

Any help would be appreciated. I'm trying to list the contents of a row in a straight line and dabling in some CSS. It was working when it was all in php. How do I fix this?

Link to comment
https://forums.phpfreaks.com/topic/60895-solved-simple-simple-question/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.