//--------------------------- Add part ----------------------------------
if($act=="ADD"){
$sql="INSERT INTO ecomm (ID,part) VALUES ('$sid','$spp'),$db";
if(! @mysql_db_query("$sql")){echo("Unable to add part.");mysql_close($db);exit();}
}
Why does this not work?
- Re: [PHP-DB] insert into mysql Robert
- Re: [PHP-DB] insert into mysql Darryl Friesen
- Re: [PHP-DB] insert into mysql Darryl Friesen
- Re: [PHP-DB] insert into mysql Robert
- Re: [PHP-DB] insert into mysql Darryl Friesen
- Re: [PHP-DB] insert into mysql Darryl Friesen
- Re: [PHP-DB] insert into mysql Robert
- Re: [PHP-DB] insert into mysql Tom Carter
- Re: [PHP-DB] insert into mysql Darryl Friesen
- RE: [PHP-DB] insert into mysql Dave Fudge
