I’m trying to pass two values to a function, so that i can check the username and password for the users. However, i can’t get it to work. When i have one value, there is ne problem doing this. But how can i pass more than one value?
function($val1, $val2)
This is my code
http://pastebin.com/JKnTEqLN
If you want to pass two variables to your function, change line 6
to
For more than two values, youll need to use
http_build_query($val2)and thenexplodeit inside of your function