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.
I'm a Newbie that needs help
Moderator: General Moderators
easy little tool
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
go to http://www.download.com and do a search for phpTriad. It comes as a installer and works very well.
phpScott
- hob_goblin
- Forum Regular
- Posts: 978
- Joined: Sun Apr 28, 2002 9:53 pm
- Contact:
Also, to check to see if PHP is working, use this script:
Code: Select all
<?php
phpinfo();
?>