Drezard Posted February 26, 2010 Share Posted February 26, 2010 Usually I can use code like this: <?php if (!isset($_GET['submit'])) { echo "<form method='get'> Search: <input type='text' name='keywords'> <br /> <input type='submit' name='submit'> </form>"; } else { echo $_GET['keywords']; } ?> And it will echo the keywords when you enter them... but for some reason that form, wont submit the 'submit' variable. Whats going on? Daniel Link to comment https://forums.phpfreaks.com/topic/193433-submit-value/ Share on other sites More sharing options...
Coreye Posted February 26, 2010 Share Posted February 26, 2010 I tried that exact code and it echoed the submitted text for me. Link to comment https://forums.phpfreaks.com/topic/193433-submit-value/#findComment-1018363 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.