Robert Priest
unread,Oct 30, 2011, 5:15:01 PM10/30/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to SQL Buddy
This use to work when prior to using sql buddy.
-------------- Part of my code relating to editting -----------------
<?
} else {
include("conn.php");
$id=$_GET["id"];
$sql="select id,title,description,website, from bookmarks where
id='$id'";
$result=mysql_query($sql,$connection) or die(mysql_error());
while($row=mysql_fetch_array($result)) {
$id=$row['id'];
$title=$row['title'];
$description=$row['description'];
$website=$row['website'];
}
?>
-------------- the error i get -------------------
You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use
near 'from bookmarks where id='9'' at line 1