varchar:
colname<>''
Thanks,
John
Jasper Bryant-Greene wrote:
John Taylor-Johnston wrote:
In php, if I wanted to know if $mydata->email contained something, I
would do this, right?
if ($mydata->email)
{}
How would I express this in SQL (MySQL)?
That doesn't tell you if $mydata->email
We should use:
if (!empty($mydata->email))
in php, right?
On 8/19/05, Jasper Bryant-Greene <[EMAIL PROTECTED]> wrote:
> John Taylor-Johnston wrote:
> > In php, if I wanted to know if $mydata->email contained something, I
> > would do this, right?
> > if ($mydata->email)
> > {}
> >
> > How would
John Taylor-Johnston wrote:
In php, if I wanted to know if $mydata->email contained something, I
would do this, right?
if ($mydata->email)
{}
How would I express this in SQL (MySQL)?
That doesn't tell you if $mydata->email contains something. It tells you
whether the value of $mydata->email,
In php, if I wanted to know if $mydata->email contained something, I
would do this, right?
if ($mydata->email)
{}
How would I express this in SQL (MySQL)?
Thanks. Sorry to be off-topic, if I am,
John
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/un
4 matches
Mail list logo