Jump to content

coopergl

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

coopergl's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. You're absolutely right.  Changing the desc field name cured the problem. Thanks very much. Geoff.
  2. Here's the whole error message: Error fetching number details: 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 'desc FROM house_num WHERE house_num.id='1'' at line 1 This is the query that causes it: $numb = @mysql_query(     "SELECT number, desc FROM house_num WHERE house_num.id='$id'");   if (!$numb) {     exit('<p>Error fetching number details: ' .         mysql_error() . '</p>');   } Any ideas what is wrong with this? Using Mysql 4.0.27 and PHP 4.4.2 Thanks in advance
×
×
  • 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.