Re: isset or ! isset what is my problem?
| From: | John Meyer | Date: | Tue, 03 Jan 2006 03:50:13 +0000 |
| Subject: | Re: isset or ! isset what is my problem? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-40957@lists.php.net to get a copy of this message | ||
On Monday 02 January 2006 8:54 pm, Ralph wrote:
> I'm building a URL based on data extracted from mySQL and I want the
> text space.gif used as my default value should the variable $picture
> by NULL.
>
> The results of the code below kick back a value for $picture when it
> is set in the database, but ignores the space.gif if the database
> result is empty.
Have you tried strlen()?