acctman Posted September 6, 2008 Share Posted September 6, 2008 I guess I have something out of place here if (strcmp($en['pass'],$en['password_confirm']) !=0) $err .= 'Password & confirmation do not match.<br>'; Link to comment https://forums.phpfreaks.com/topic/123017-if-expecting-error/ Share on other sites More sharing options...
PFMaBiSmAd Posted September 6, 2008 Share Posted September 6, 2008 The posted line of code by it self does not trigger that error message. It is likely the actual error is in the lines of code immediately before that line. Post the 10 lines of code before that line. Link to comment https://forums.phpfreaks.com/topic/123017-if-expecting-error/#findComment-635197 Share on other sites More sharing options...
acctman Posted September 6, 2008 Author Share Posted September 6, 2008 The posted line of code by it self does not trigger that error message. It is likely the actual error is in the lines of code immediately before that line. Post the 10 lines of code before that line. I spotted it, I had an extra IF on the line above it all by itself. thanks Link to comment https://forums.phpfreaks.com/topic/123017-if-expecting-error/#findComment-635227 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.