Hi I'm a newbie here, I'm new to this, got a question here
Normally we key in text in the empty text box to look for data, for example:
<body>
<form method="post" action="data.php">
<input type="text" name="shoe_1">
<input type="submit" value="Submit Data">
</form>
my "data.php" will connect to mySQL and search for category "shoe_1" for air jordan when I type in "air jordan" in the blanks and press Submit Data button.
What if I want a normal link to do this? for example a simple links:
<body>
<a> Air Jordan </a>
so when user clicks on Air Jordan, it will run my data.php to connect to mySQL and search category "shoe_1" for Air jordan.
How do I do that? Any Idea?
Please Help....



Reply With Quote
You have to put the data in your URL, it won't be magically picked up.



Bookmarks