Bluehost.com Web Hosting $6.95

Re: [PHP] HELP about pull hair on this INSERT

This is a discussion on Re: [PHP] HELP about pull hair on this INSERT within the PHP General forums, part of the PHP Programming Forums category; Didier McGillis wrote: > ################################################## ########### > MESSAGE: > INSERT INTO group (id, bmenu, tmenu, parent, name, desc, g_desc, > sort_order, status, ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-10-2003
John W. Holmes
 
Posts: n/a
Default Re: [PHP] HELP about pull hair on this INSERT

Didier McGillis wrote:

> ################################################## ###########
> MESSAGE:
> INSERT INTO group (id, bmenu, tmenu, parent, name, desc, g_desc,
> sort_order, status, image, mb, calendar) VALUES ('', '1', '1', '0', 'FBC
> Administrator', 'fdhsjfds jfdash', 'jhfdjs fjdsahfjksda hfjdsha fjdskah
> fjdsha fdshajf dsa h', '4', '1', 'fdjshafjdash', '1', '1');
>
>
> Invalid query: 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 'group (id, bmenu, tmenu, parent, name, desc, g_desc, sort_order
> ################################################## ############


GROUP and DESC are reserved words.

--
---John Holmes...

Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/

PHP|Architect: A magazine for PHP Professionals – www.phparch.com




Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 03:09 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0