I'm a Newbie that needs help

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
gpedraza
Forum Newbie
Posts: 1
Joined: Thu Oct 24, 2002 1:20 pm

I'm a Newbie that needs help

Post by gpedraza »

Hello everyone, I'm trying to install Apache, PHP, MySQL, and phpMyAdmin, and I have a problem.
I could install each piece of software very well but when I try to run a little proyect that I have made, I find out that PHP is not assigning values to my variables.
To try that I've wrote a little page with the next code:

<?php
echo "Variable " .$hola
?>

Then I've opened IExplorer and loaded the page. After loading it I've worte on the address line the next:

localhost/test.php?hola=1111

Where test.php is the name of the page, and from which i expected to obtain the next:

Variable 1111

But I've only obtained

Variable

Which confirms (I guess) that php is not assigning values to variables.
Can anyone think of a solution to that?
Thanks in advance.
Guille.
User avatar
phpScott
DevNet Resident
Posts: 1206
Joined: Wed Oct 09, 2002 6:51 pm
Location: Keele, U.K.

easy little tool

Post by phpScott »

Here is a great download package that will install apache, php, mysql on your windows 98 machine, I haven't tried it yet on 2000 or xp. The only thing is you will have to set up phpMyAdmin your self, but it sounds like you are dong that already.

go to http://www.download.com and do a search for phpTriad. It comes as a installer and works very well.

phpScott
User avatar
hob_goblin
Forum Regular
Posts: 978
Joined: Sun Apr 28, 2002 9:53 pm
Contact:

Post by hob_goblin »

jason
Site Admin
Posts: 1767
Joined: Thu Apr 18, 2002 3:14 pm
Location: Montreal, CA
Contact:

Post by jason »

Also, to check to see if PHP is working, use this script:

Code: Select all

&lt;?php
phpinfo();
?&gt;
Post Reply