sherlockturtle Posted April 26, 2012 Share Posted April 26, 2012 Its just keep saying error on line 1 if($_POST["pass"] == $_POST["repass"]){ arepasssame = $_POST[pass]; } Quote Link to comment https://forums.phpfreaks.com/topic/261618-php-compare-post-script-not-working/ Share on other sites More sharing options...
Drummin Posted April 26, 2012 Share Posted April 26, 2012 if($_POST['pass'] == $_POST['repass']){ $arepasssame = $_POST['pass']; } Quote Link to comment https://forums.phpfreaks.com/topic/261618-php-compare-post-script-not-working/#findComment-1340586 Share on other sites More sharing options...
scootstah Posted April 26, 2012 Share Posted April 26, 2012 I would think $arepasssame should be a boolean. Quote Link to comment https://forums.phpfreaks.com/topic/261618-php-compare-post-script-not-working/#findComment-1340664 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.