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?
>
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
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],
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