Click to See Complete Forum and Search --> : how would i


metrosoccer12
11-27-2003, 08:05 PM
how would i make a page like this:

person types whatever.com/somescript.php?text=lalala

and on the page it shows the text lalala u know what i mean something in that nature how would it be done?

essence
11-27-2003, 08:15 PM
Hey hows it goin, Im new here.

Pretty much its simple my friend. Do this:

<?php
echo($text);
?>

Voila! Simple as that my friend! All you have to do is put that in the place you want it on your webpage!

pyro
11-27-2003, 08:55 PM
It would be better to not rely on registered globals, though:

echo $_GET['text'];