Hi,
I am having a few issues trying to get this to work.
When I click the link delete i want the record to be deleted from MySQL if 2 parameters are true.
The following is the delete link:
http://domain.com/records.php?url=21313
So the first parameter is "url" the second will be the users account id
the record in MySQL is as follows:
id: 23423424
URL: 21313
FIELD: HERE AND THERE
USERID: 222
So I need a statement that basically says
DELETE from masterdb where url = $_GET and userid = S_SESSION[userid'] then return to index.php
I cannot seem to work this out
Any help would be appreciated
Cheers