Re: [PHP-DB] Re: What's wrong with this code?

2002-09-02 Thread David Balatero
L PROTECTED] - Original Message - From: "Shoulder to Shoulder Farm" <[EMAIL PROTECTED]> To: "PHP Database List" <[EMAIL PROTECTED]> Sent: Monday, September 02, 2002 7.57 AM Subject: Re: [PHP-DB] Re: What's wrong with this code? >

Re: [PHP-DB] Re: What's wrong with this code?

2002-09-02 Thread Shoulder to Shoulder Farm
Sorry all, my mail program has been sending messages to the sender. Sorry...Taj Jean-Christian Imbeault wrote: > Shoulder To Shoulder Farm wrote: > >> >> mysql_query("INSERT INTO prod VALUES ( 'Name', 'ShortDesc', >> 'LongDesc', 'PriceOZ', 'PriceLB', 'URLOZ', 'URLLB', 'IMG') VALUES >> ('$_POST

[PHP-DB] Re: What's wrong with this code?

2002-09-01 Thread Jean-Christian Imbeault
Shoulder To Shoulder Farm wrote: > > mysql_query("INSERT INTO prod VALUES ( 'Name', 'ShortDesc', 'LongDesc', > 'PriceOZ', 'PriceLB', 'URLOZ', 'URLLB', 'IMG') VALUES ('$_POST[Name]', > '$_POST[ShortDesc]', '$_POST[LongDesc], '$POST[PriceOZ', > '$_POST[PriceLB]', '$_POST[URLOZ]', '$_POST[URLLB],

[PHP-DB] Re: What's wrong with this code?

2002-09-01 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > Hi all, I'm running PHP4. What's wrong with this code: > > > $db = mysql_connect("localhost", "Taj", "passwordhere"); > > mysql_select_db("s2s",$db); > > mysql_query("INSERT INTO prod VALUES ( 'Name', 'ShortDesc', 'LongDesc', > 'Pri