Notices
Non Scooby Related Anything Non-Scooby related

Search form and PHP

Thread Tools
 
Search this Thread
 
Old 22 May 2001, 05:54 PM
  #1  
gregh
Scooby Regular
Thread Starter
 
gregh's Avatar
 
Join Date: Dec 1999
Posts: 3,360
Likes: 0
Received 0 Likes on 0 Posts
Post

Any experts out there? Creating a search form which will pass 2 variables to PHP, it's the passing I'm struggling with. Can anyone tell me how to pass the name and/or description that a user types in the search fields?

Code so far is:

<form name="form1" method="post" action="/html/search.php?prod='$prod_name">
<p>Name:
<input type="text" name="prod_name">
<br>
Description:
<input type="text" name="description">
<br>
<input type="submit" name="Submit" value="Submit">
</p>
</form>
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
TylerD529
General Technical
2
09 October 2015 01:53 AM
mistermexican
General Technical
2
01 October 2015 04:30 PM



Quick Reply: Search form and PHP



All times are GMT +1. The time now is 07:37 PM.