Insert Query Builder (insertmain.php) is missing the php includes at the top and this stops you from inserting new records - just copy it in from another php file.
Edit/Upate Form Builder (editMain.php) looks for $whatever when it should be looking for $id. Try something like the following...
$queryupdate = "select * from main where whatever = '$id'";
Still can't get delete to work because it isn't passed any search string.
For more info switch on logging on mysqld (add -l) then watch the output of /var/lib/mysql/$hostname.log (linux).
Damian
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've the following so far:
Insert Query Builder (insertmain.php) is missing the php includes at the top and this stops you from inserting new records - just copy it in from another php file.
Edit/Upate Form Builder (editMain.php) looks for $whatever when it should be looking for $id. Try something like the following...
$queryupdate = "select * from main where whatever = '$id'";
Still can't get delete to work because it isn't passed any search string.
For more info switch on logging on mysqld (add -l) then watch the output of /var/lib/mysql/$hostname.log (linux).
Damian