read the "
Short Style PHP Tags" and "
Making Sure Your PHP Code is Parsed by Apache" in my wamp manual:
http://forum.wampserver.com/read.php?f=2&i=12300&t=12300also just a little note, php comes with php set to only display serious errors. on a production webserver, that is a good thing because some error messages and give potential hackers some information about how your website and server is setup. since you are using wamp to test and develop scripts locally, you should turn on all error message. there are two ways to do it.
first way, add this php code to the beginning of your php code:
error_reporting(E_ALL);second way, edit your php config file php.ini. use the wamp tray icon menu to open your php.ini file:
left click on the wamp tray icon -> config files -> php.ini
find this line:
error_reporting = E_ALL & ~E_NOTICEchange it to:
error_reporting = E_ALLsave the file and restart apche for the new settings to take effect.
CyberSpatium----------------------WAMP English Forum Admin
Need help? Check out my
WAMP User Manual/Guide here!
Please visit my latest website Clarify Loans:
ClarifyLoans.com