Now seem to have fixed the "cannot delete" thing.
In deleteMain.php I changed line 8 to look like:
$queryconfirmation = "select * from main where acct = '$id'";
and line 24 to look something like:
<h3>Are you sure want to delete this record ?</h3><form name=formMaker method=post action="deletemain.php?id=<? echo $id; ?>">
These changes pass the variable $id to the script deletemain.php and BINGO the record is deleted. Your line numbers may vary slightly 'cos I've hacked mine around a little.
I ought to learn PHP one day instead of messing about like this :o)
Damian
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Now seem to have fixed the "cannot delete" thing.
In deleteMain.php I changed line 8 to look like:
$queryconfirmation = "select * from main where acct = '$id'";
and line 24 to look something like:
<h3>Are you sure want to delete this record ?</h3><form name=formMaker method=post action="deletemain.php?id=<? echo $id; ?>">
These changes pass the variable $id to the script deletemain.php and BINGO the record is deleted. Your line numbers may vary slightly 'cos I've hacked mine around a little.
I ought to learn PHP one day instead of messing about like this :o)
Damian