$complete = mysql_query("INSERT listed SELECT * FROM info WHERE id = '$idno'");
if($complete){
@mysql_query("DELETE FROM info WHERE id = '$idno'")
;
}
exit;
echo("
Entry successfully Posted!
");
2006-09-29
22:35:33
·
3 answers
·
asked by
detroitkid17
2
in
Computers & Internet
➔ Programming & Design
I'm trying to make it to where the data is inserted into one database, and once this is accomplished, I want data from a different database to delete. Basically, I want to copy one row of data (depending on the $idno variable) from one database to another, then delete it from the first database once it's copied.
2006-09-29
23:09:33 ·
update #1