For the Life of Me I can't Make this work

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

Create a PHP file and just put

Code: Select all

<?php phpinfo(); ?>
in it and upload it to your webspace. Accessing that file will give you loads of information about the way your ISP has set-up PHP and also will tell you what version of PHP is running.

What do you get if you put:

Code: Select all

echo '<pre>';
print_r($_GET);
print_r($HTTP_GET_VARS);
echo '</pre>';
at the top of your title.php page?

Mac
lloydsmods
Forum Newbie
Posts: 22
Joined: Wed Aug 14, 2002 2:03 pm
Location: NC

Post by lloydsmods »

It works! $HTTP_GET_VARS worked!

I was trying to run the query through a function call to another php file and it wouldn't work. When I moved the query to the title.php page it worked like a charm.

Thanks for the help!
Post Reply