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 Quote Link to comment 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. Quote Link to comment 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.