monkeypaw201 Posted July 27, 2008 Share Posted July 27, 2008 Hey guys, i know its probably a simple question, but how do I check to see if a form has been submitted? I tried: <?php if(isset($_POST)) { echo "yes"; } ?> But it displays yes even if i haven't submitted anything.. any suggestions? Link to comment https://forums.phpfreaks.com/topic/116903-solved-checking-if-form-is-submitted/ Share on other sites More sharing options...
trq Posted July 27, 2008 Share Posted July 27, 2008 Providing you have a submit button named 'submit'.... if (isset($_POST['submit'])) { Link to comment https://forums.phpfreaks.com/topic/116903-solved-checking-if-form-is-submitted/#findComment-601168 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.