otuatail Posted August 24, 2006 Share Posted August 24, 2006 I don't know if this is possible but I have a web page that displays content from a MySQL database. I have a box that if filled in can narow down the search. I thought it wouls be a good idea to add another box so I could write a complete SQL statment. The problem is the text box is behaving like a browser entry box. as soon as I type SELECT I get an enormous history of all SELECT statments. Can this be prevented as it is very disconcerting.Desmond. Quote Link to comment Share on other sites More sharing options...
otuatail Posted August 24, 2006 Author Share Posted August 24, 2006 Sorted it out. Simple realy. Why I did not think of it sooner. Use a session variable for the "name"session_start();$stamp = time();if($_SESSION['Entry'] == "") $_SESSION['Entry'] = $stamp;AND<input type="text" name="<?=$_SESSION['Entry']?>">Desmond. 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.