for security reasons, php is set to not display all error messages, since some messages could be used by a potential hacker to get information about your server. since wamp is for development, you should turn on all error reporting, so all php errors get displayed.
to do this, left click on the wamp tray icon menu -> config files -> php.ini
find:
error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT
change it to:
error_reporting = E_ALL
now save the file and restart apache for the new setting to take effect. now try your code again, and you will see any errors it generates.
CyberSpatium----------------------WAMP English Forum Admin
Need help? Check out my
WAMP User Manual/Guide here!
Please visit my latest website Clarify Loans:
ClarifyLoans.com