Vivid Lust Posted August 31, 2008 Share Posted August 31, 2008 Hi, Can someone please tell me where I'm going wrong in the below code! <?php //validate blank fields if($name == "" || $email == "" || $pass == "" || $pass2 == ""){ header('location:register.php?msg=1'); exit; } ?> Thanks if you can help! Link to comment https://forums.phpfreaks.com/topic/122126-or-help/ Share on other sites More sharing options...
Vermillion Posted August 31, 2008 Share Posted August 31, 2008 You may want to tell us what the problem of the script is, otherwise we don't know what kind of error we are looking for. Link to comment https://forums.phpfreaks.com/topic/122126-or-help/#findComment-630526 Share on other sites More sharing options...
Vivid Lust Posted August 31, 2008 Author Share Posted August 31, 2008 Don't worry now, I sorted it out, I had == instead of = Link to comment https://forums.phpfreaks.com/topic/122126-or-help/#findComment-630527 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.