Hi, I'm a newbie coming from JSP (and also a lifetime of C/C++/Java), and
I was wondering if someone could help me with the following questions.
1. Does PHP have a way to display an expression or variable without
using echo? I'm particularly looking for JSP's <%= %> operator
that will allow me to embed a variable right into HTML.
2. About error reporting, I've found that the default error reporting
level doesn't report undefined variables (these are occuring, for
example, when I misspell a variable name). If I set error_reporting
in php.ini to be E_ALL, undefined variables will be reported, but I
also get a lot of undefined variable errors in HTTP_POST_VARS and the like.
Surely that has to be a happy medium?
Thank you for any help.