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], '$_POST[IMG]');")

Maybe it's a typo but all you $_POST vars are wrong. They should be 
$_POST["var"] not $_POST[var] as you have them.

Jc


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to