I have a problem with my php script it is…
Parse error: syntax error, unexpected T_LOGICAL_OR, expecting ')' in C:\wamp\www\register.php on line 34
I am a nube with !Empty so let me know if im doing something wrong.
if (!empty($username or $email or $password or $repassword))
{
}
else
{
}
This is my code but something in the middle of the else and if statement
So what am i doing wrong?
My question is what am i doing wrong?
oh and
- $username
- $password
- $repassword
are all values
and yes this is a script to figure out if someone has filled in all of the textboxes in the form for a register script.
It sounds like you want something along these lines…