How can i get a variable to change after a submit button is pressed using php?

Austin G

New member
i have a variable $message that has a value that says please enter login info below, when the submit button is pressed i need the message to read success in green if the username and password are correct and then the message needs to read failed in red if info is incorrect.
 
Back
Top