You set error_reporting to 15 (E_ALL) instead of 7.
Turn it back down to 7 or fix your scripts to use
if (isset($submit)){
}
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic
James Smith wrote:
>
> Alright, when i was programming with PHP3, I would use
> if statements like this:
>
> if(!$submit) {
>// display form
> } else {
>// display signup complete
> }
>
> to make multiple pages. Or I would do this:
>
> if($action == "signup") {
>if(!$submit) {
>
hi again james,
btw, consider doing this :
if (empty($submit)) {
or
if (!empty($submit)) {
as it doesn't run into such problems. or use isset although i tend to
almost always use empty, i LOVE empty() !!! each have their uses :
http://www.php.net/manual/en/function.empty.php
this has to do with error reporting,
using the function :
http://www.php.net/manual/en/function.error-reporting.php
definition of types :
http://www.php.net/manual/en/phpdevel-errors.php
you may have E_ALL or E_NOTICE on within php.ini
philip olson
http://www.cornado.com/
On Mon, 29 Jan 2
4 matches
Mail list logo