Jump to content

How would I get php to take text from a url string and put it on the webpage?


tiimage

Recommended Posts

If my url is something like http://www.mysite.com/thispage.html?writethis

 

How would I get php to take the "writethis" part or any text that might be there after the question mark and put it where I want it on the "thispage.html" webpage?

 

This will be used for URL's so it can not be a javascript, must be done in the background.

"thispage.html" won't work,  "thispage.php" assuming your server supports php.

Secondly, I'm going to venture a guess you asked this somewhere else and they suggested php but you aren't familiar with php at all. right?

If so, consider paying someone to do it or starting by reading some tutorials for beginners. Most of the members of this website have recommended reading material.

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.