Jump to content

General Queries Question


xander85

Recommended Posts

Hi,

 

I recently switched servers, both are Linux and running the latest PHP and Mysql versions. However, I am getting errors with most MySQL queries and I have a feeling there is a difference with my PHP or Mysql installation that I'm not aware of.

 

On my old server this query worked fine:

INSERT INTO work_orders (id, site_id, workid, invnum, work_date, work_desc, main, out, mailed) VALUES ('15', '1', '12', '1205', '2008-02-05', 'test', '1', '1', '1')

 

Now, I get the following error:

 

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 'out, mailed) VALUES ('15', '1', '12', '1205', '2008-02-05', 'test', '1', '1', '1' at line 1

 

 

What would cause this?

Link to comment
https://forums.phpfreaks.com/topic/91084-general-queries-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.