Re: why does php issue this warning notice?
| From: | Diogo Zulli | Date: | Wed, 20 Dec 2000 12:28:22 +0000 |
| Subject: | Re: why does php issue this warning notice? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-31196@lists.php.net to get a copy of this message | ||
On [19 December 2000 15:31] (php@theOrb.net), wrote:
} // define column names as constants
} define( "_USER_ID_", "user_id" );
} define( "_EXTRA_", "extra" );
}
} $select = ("
} SELECT u.user_id, e.extra
} FROM users u, extras e
} WHERE u.user_id = e.user_id
} ");
Try
...
SELECT u.user_id, e.extra AS extra
... ^^^^^^^^
- Diogo Zulli
----------------------[ www.sphynx.com.br ]---------------------------
"Why Live on The Edge When You Can BASE Jump Off It"