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
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) {
//display
://chatmusic.com/volunteer.htm
- Original Message -
From: James Smith [EMAIL PROTECTED]
Newsgroups: php.general
Sent: Tuesday, January 30, 2001 1:54 AM
Subject: [PHP] Variable Problem when UPGRADING...
Alright, when i was programming with PHP3, I would use
if statements like this:
if(!$submit
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) {
//display form
} else {
// display
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
5 matches
Mail list logo