ignore that last one :)
I goofed...
Still not working right though
if($act=="ADD"){
$sql="INSERT INTO ecomm (ID,part) VALUES ('$sid','$spp')";
if(! mysql_query('$sql')){echo("Unable to add part.");mysql_close($db);exit();}
}
just gives me "Unable to add part"
- [PHP-DB] insert in mysql Robert
- [PHP-DB] insert in mysql Robert
- Re: [PHP-DB] insert in mysql Robert
- Re: [PHP-DB] insert in mysql Paul Burney
- Re: [PHP-DB] insert in mysql Darryl Friesen
- [PHP-DB] insert in mysql Robert
