GroundZero
Programmer
I want to remove a row in my Access DB but I can't get it to work. Can anyone see what I am doing wrong:
<?php
//connect to database
$connect = odbc_connect("flash_java_xml", "", "" or die("couldn't connect."
//query the user table for room and message
$query ="DELETE * FROM emplacement";
$query .="WHERE ID=$dbID";
//perform the query
$result = odbc_do($connect, $query);
print("&erased=1&"
//disconnect from database
odbc_close($connect);
?>
thank you in advance,
GroundZero Your soul is imperfect
Life is difficult...
Now guess why we're here
<?php
//connect to database
$connect = odbc_connect("flash_java_xml", "", "" or die("couldn't connect."
//query the user table for room and message
$query ="DELETE * FROM emplacement";
$query .="WHERE ID=$dbID";
//perform the query
$result = odbc_do($connect, $query);
print("&erased=1&"
//disconnect from database
odbc_close($connect);
?>
thank you in advance,
GroundZero Your soul is imperfect
Life is difficult...
Now guess why we're here