Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Get an error when updating.
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Robert Priest  
View profile  
 More options Oct 30 2011, 5:15 pm
From: Robert Priest <robs.pri...@gmail.com>
Date: Sun, 30 Oct 2011 14:15:01 -0700 (PDT)
Local: Sun, Oct 30 2011 5:15 pm
Subject: Get an error when updating.
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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »