\n"); $res1 = query($connection, $insert); $sel1 = "select id from item where pid='$pid' and ord='$ord'"; $res2 = query($connection, $sel1); $data = fetch_object($res2, 0); $id = $data->id; } $select = "select * from item where id=$id"; $delete = "delete from item where id=$id"; $result = query($connection, $select); $item = fetch_object($result, 0); // stuff the db query into an html comment print("\n"); print("
\n
\n\n"); print("\n"); print("\n"); print("\n \n \n "); print("\n \n"); print("\n "); print("\n "); print("\n "); print("\n "); print("\n"); print("\n \n "); print("\n"); print("\n "); print("\n "); print("\n"); print("\n \n"); print("\n "); print("\n"); // button area begins print("\n \n\n"); print("
OrderTypeClassClear
ord\">type\">class\">clear\">
DescriptionLink
alt\">url\">
Data
\n "); print(""); print("\n "); print("\n "); print(""); print("
\n
\n"); print("
\n
\n
\n"); require("../footer.php3"); print("\n"); } else { print("
\n

Database Error

\n"); print("

Failed to connect to database: $dbname

\n"); } ?>