is $this = 'that' then $that = 'this'... How do I?
Posted: Mon Jul 12, 2010 11:33 am
Hey Guys,
I have a 'spinning' code where each time a script runs - $user = a random username (from a list of about 5)
what I need, is to know how to get something along the lines of:
IF $user = 'username1'
THEN
$password = 'password1'
IF $user = 'username2'
THEN
$password = 'password2'
etc. Thanks for your help!
I have a 'spinning' code where each time a script runs - $user = a random username (from a list of about 5)
what I need, is to know how to get something along the lines of:
IF $user = 'username1'
THEN
$password = 'password1'
IF $user = 'username2'
THEN
$password = 'password2'
etc. Thanks for your help!