Jump to content

Post on a page load


phpretard

Recommended Posts

When a person visits my site I would like for the form on the page to submit and reload with the predetermined search criteria.  Is this possible?

 

So for example...if you visited my site as soon as you entered the from would submit and display Google search results for "php freaks"

 

I tried header("location: mysite.com?q=php+freaks"); but that is a continuous loop.

 

 

 

-Any thoughts

 

Link to comment
https://forums.phpfreaks.com/topic/210421-post-on-a-page-load/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.