|
-
November 20th, 2008, 12:43 AM
#1
php script help...
Hello,
I have the following php script:
test.php:
Code:
<?
if ($name) {
echo $name;
}else{
echo "No Page Name";
}
?>
and if you goto mysite.com/test.php?name=hello
it should display the text 'hello' on the page where the script is put but it don't work.
does anyone know why this is not working for me?
When i run it, it comes up with 'No Page Name' rather then what I put in the URL
My web server is:
Apache version: 2.2.6 (Unix)
PHP version: 5.2.5
Hope someone can help
Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|