Page 1 of 1

I'm a Newbie that needs help

Posted: Thu Oct 24, 2002 1:20 pm
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.

easy little tool

Posted: Thu Oct 24, 2002 1:54 pm
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

Posted: Thu Oct 24, 2002 6:14 pm
by hob_goblin

Posted: Thu Oct 24, 2002 8:54 pm
by jason
Also, to check to see if PHP is working, use this script:

Code: Select all

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