if i want to make a condition on clicking on submit button in a form, how can i do it in php?
for example if i have a page where the user have to login using his username and password saved already in a database (MySQL), i want to realize the condition that its username and password are just right like in the database. I have tried the condition if ($submit) but it didn't worked (i don't know why because i have seen some tutorials using this condition).
I am working on PHP version 4.2.1 and MySQL.
How can I do it?
Is this version of PHP different?