Re: [PHP-DB] isset or ! isset what is my problem?

2006-01-03 Thread Ralph
Actually this has nothing to do with rows. I'm just trying to substitute a value when a query returns an empty value. On Jan 3, 2006, at 5:24 AM, El Bekko wrote: On Monday 02 January 2006 7:54 pm, Ralph wrote: I'm building a URL based on data extracted from mySQL and I want the text space.

Re: [PHP-DB] newbie PHP/MySQL question

2006-01-03 Thread toylet
yes. Note the "delete from canton" query. I found something. case.. Somehow, mysql treat "A" the same as "a" Maybe from a previous query? I mean, did you make sure the table was clear > before starting the script? > > $target->query("delete from canton"); > > for ($ii=0; $ii<256; $ii++) {

Re: [PHP-DB] isset or ! isset what is my problem?

2006-01-03 Thread El Bekko
On Monday 02 January 2006 7: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 ign