I am converting a content management system I have developed in ASP to PHP (cause I like PHP now).
Problem I have is conversion and equivalent of this section of code.
// code starts here
For Each key In Request.Form
If key <> "Submit" then
If Request.Form(key)= "true" then
SQLlogin = "DELETE * FROM logintable WHERE email='" & key & "'"
Con.Execute (SQLlogin)
End if
End if
Next
// code ends here
I need to interate through the fields on the form and pull out their values.
How is this done in PHP?
Many Thanks