Thanks for the Help on the other problems...all resolved.
One last (hopefullly) problem I can't seem to get around for this
program...why isn't this deleting the row i want? It does nothing. Now error
messages either. HELP!
$link = mysql_connect(" localhost");
if(! $link)
die("Could not connect to MySQL");
$database = "PC_Store";
mysql_select_db ($database)
or die ("could not open $database: ".mysql_err or() );
$result = mysql_query("DE LETE FROM inventorydata VALUES('$Produc tID')");
The $ProductID variable is brought in from a menu choice on a diffrent page,
it is also the primary of the table...so it should delete the whole row
right?
Thanks again,
Rob
One last (hopefullly) problem I can't seem to get around for this
program...why isn't this deleting the row i want? It does nothing. Now error
messages either. HELP!
$link = mysql_connect(" localhost");
if(! $link)
die("Could not connect to MySQL");
$database = "PC_Store";
mysql_select_db ($database)
or die ("could not open $database: ".mysql_err or() );
$result = mysql_query("DE LETE FROM inventorydata VALUES('$Produc tID')");
The $ProductID variable is brought in from a menu choice on a diffrent page,
it is also the primary of the table...so it should delete the whole row
right?
Thanks again,
Rob
Comment