PHP doesn't work
Posted by: tompatterson (---.dsl.hstntx.swbell.net)
Date: March 07, 2010 08:22PM

I just downloaded and installed Wamp on a Windows 7 laptop. It installed and seems to be working except for the PHP. I have the Wampserver Homepage appearing in [localhost]. When I click on PHP info it appears that php is installed.

When I click on the project I set up, all I get is the HTML returned. PHP statements are ignored.

Any suggestions?

-Tom

Options: ReplyQuote
Re: PHP doesn't work
Posted by: stevenmartin99 (---.b-ras2.blp.dublin.eircom.net)
Date: March 07, 2010 08:34PM

maybe ur using <? ?>

when you shud be using <?php ?>



left click wamp> php>php settings > short_open_tags if your too lazy to change them smiling smiley

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]



Edited 1 time(s). Last edit at 03/07/2010 08:56PM by stevenmartin99.

Options: ReplyQuote
Re: PHP doesn't work
Posted by: tompatterson (---.dsl.hstntx.swbell.net)
Date: March 07, 2010 08:49PM

You are absolutely correct. Fixed it in the php.ini file.

Thanks.

-Tom

Options: ReplyQuote


Sorry, only registered users may post in this forum.