I teach HS students PHP and Mysql. In the past I have run the same script in either Wampserver mode or full install mode (On different machines). Obviously, I suggest the students run Wampserver. I was recently giving a lesson on Forms and PHP/HTML embedding. The below statement will work correctly on Full Install mode but not on the latest Wampserver:
<P>The result of the calculation is: <? echo "$result"; ?></p>
With Wamp, all I get is.. The result of the calculation is:
I suspect that it may run it on an older version of Wampserver, since I didnt encounter this problem last year. I am trying to locate such. It is not a browser problem, since I have tried it on IE7, IE6 and Firefox.
Also, intermittently, header: location redirection will not run.
I am certain it is something trivial.. a php.ini setting, any help you can give me will be greatly appreciated.