Looking for a quick example on how make a php to mysql (true / false) compare.
This would be using a sign up form:
So all the basic stuff I have down (login/sql/query/etc..)
I am guessing....example code ;)
// old or new user example //
function oldOrNew (signupID)
login into db;
login into myTable ;
//compare the id against the table//
if(userid on myTable == signupID & oldPassword on myTable == newPassword)
echo "you already have signed up...but you have uninstalled the application"
echo "please fill out form about what we could have done to make it a better app, and thanks for coming back!"
echo "thanks for signing up"
// 11223 would be the example var ID to pass to the function //