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]; } 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']; } 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. 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
Archived
This topic is now archived and is closed to further replies.