PHP is better for this kind of thing.
Printable View
PHP is better for this kind of thing.
Yeah - why does it specifically need to be client-side?
Sorry, I would have said more, but at that time I was at school, and the teacher was nearing...... :eek:
PHP is so much better for this kind of thing, because if the register_globals "Variable" is turned on in php.ini, you can access the query string like this
and thats it :DCode:For example, if the URL is
http://www.url.com/page.php?hello=no
the code to access it would be
<?
if (isset("$hello")!=0) {
//its true, display the value
echo $hello;
}
}
?>
actually you don't need the isset, that just makes sure its there,
if you don't use isset, and its not there, there are no errors, just no display
<?
//if the url is just http://www.url.com/page.php instead of ..?hello=no
then no output will be displayed.
echo $hello
?>
[Edited by denniswrenn on 09-29-2000 at 07:48 PM]
It seems he's looking for a client side solution, so this should work.