David Nelson Posted April 11, 2008 Share Posted April 11, 2008 Hi guys! Great to be here. For an upcoming project I need to setup a script where the user is given a search box, and whatever they type into the box will be called as a variable on the next page (using a single php template) I am not very proficient in PHP, so I need a bit of help to complete this task. The url format will need to be something like http://thesite.com/search.php?q=variable-phpfreaks As I want to be able to send direct links to a page. The visitor would be presented with a search box like this: Then, upon submitting, they'd get to a page like this where the content that they inputted is called in multiple areas as the variable: If somebody could help me get the basic framework of this in PHP that would be awesome! Thanks a ton guys! Link to comment https://forums.phpfreaks.com/topic/100729-help-simple-php-template-w-variables/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.