I'm looking to running a query by clicking on a button and staying within the same web page. Anyone got any ideas if this is possible or how i would go about scripting it.
I would also like to know how i can use a text field with data entered in by a user can be used in a query like:
Name: Nathan ID: 4563 (they enter this in a text box)
"(Select * From Table Where ID='4563')";
Habtom
6:59 am on Apr 23, 2008 (gmt 0)
You need to look into Ajax to do that (Most commonly combination of Javascript and PHP)
SELECT * FROM table WHERE ID = '. $_REQUEST['txt_box_name'] .';
...and welcome to WebmasterWorld
monty12
11:28 pm on Apr 23, 2008 (gmt 0)
Thank you for the information. I will look into it.