bubbles19518
09-28-2006, 03:07 PM
if(isset($_GET['time']))
{
$time = $_GET['time'];
$sql = "DELETE * FROM support WHERE time = '$time'";
if(mysql_query($sql))
{
echo("Support Ticket Deleted!");
}
}
I dont see anything wrong with that code but its not deleting right. I know the get variable is passing through, and its connected to the database farther up in the script. Time is just the time() that the row was intserted in the db.
{
$time = $_GET['time'];
$sql = "DELETE * FROM support WHERE time = '$time'";
if(mysql_query($sql))
{
echo("Support Ticket Deleted!");
}
}
I dont see anything wrong with that code but its not deleting right. I know the get variable is passing through, and its connected to the database farther up in the script. Time is just the time() that the row was intserted in the db.