JasonLewis Posted January 30, 2007 Share Posted January 30, 2007 leave it as ||... so whats happening now? still getting the $Error1 settings itself to true?because if thats the case then one of the variables declared at the top is blank. are all the variables at the top being echoed? Quote Link to comment Share on other sites More sharing options...
PC Nerd Posted January 30, 2007 Author Share Posted January 30, 2007 ok, its || and all the records are being echod.ive also tried to create the $Error variables before any of the assigning in the if's like $Error = ""; and it still doesnt work.... so does this mean that its not registering the value???thanks Quote Link to comment Share on other sites More sharing options...
JasonLewis Posted January 30, 2007 Share Posted January 30, 2007 whats the rest of the script. like where it declares the errors. my guess is it looks like this:[code=php:0]if($Error1){echo "You didnt enter all required information.";} Quote Link to comment Share on other sites More sharing options...
PC Nerd Posted January 30, 2007 Author Share Posted January 30, 2007 {its pretty much like you said.... but it goes like...... if ($Error1 = True ) {MESSAGE} Quote Link to comment Share on other sites More sharing options...
JasonLewis Posted January 30, 2007 Share Posted January 30, 2007 thats y... you cant use if($Error1 = true) because that is setting $Error1 to true. change it to == or just remove the = true all together. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.