I need help on a project, I want to create a search engine that passes on keywords, but have not a clue. this is not really my strong point. So basically i want it to pass on keywords then display them on a webpage like google. If you can could you do an example down below, of google then that would be great. This is In Php Programming Language
Hmmm... okay. Real quick. Pass a keyword through a link, like this: http://www.yoursite.com/special_page.php?param=KEYWORD (Change the website name, special_page.php, and KEYWORD part to whatever you need them to be.) Then on the page that will catch the parameter (special_page.php in this tiny tutorial), paste this where ever you want the keyword to appear: <?php $_GET['param']; ?> That tells special_page.php to display whatever comes after "param." In the example above, it's gonna display KEYWORD. That's all, I'm sure.
Okay for that, you're going to have to modify the code a bit. The final version should resemble something like this: (I need to clarify...) <?php $_GET['param']; $keyword = str_replace(" ", "%20", $param); ?> (Put that at the top of the php results page) Then instead of using <?php $_GET['param']; ?> where the KEYWORD should go on the results page, use <?php echo $keyword ?> I think that should work. Let me know if it doesn't.