User Profile
Collapse
-
actually i found the problem, thank you -
I changed the second page to:
[code=php]<?php
if($id=="")
header("Refresh : 0;url=work.html ");
else
{
include 'datacon.php';
$query = "delete from stationfailuret est where id='".$id."'";
$result = mysql_query($qu ery);
header("Refresh : 0;url=index.php ");
}
?>[/code]
That way I could test...Leave a comment:
-
Deleting entries
I am new to PHP and I am trying make a page that displays the entries in a table and then gives the option to delete a specific entry after checking it. I can get the page to display the entries and there is a link to delete the entry but it will not pass the variable to the second page that deletes the entry. Here is my code.
This is the page that displays the entries:
[code=php]<?php
include 'datacon.php';...
No activity results to display
Show More
Leave a comment: