RE: [PHP] odd results with database string comparisons

2004-08-12 Thread Jay Blanchard
[snip] I have a database table with the column described as address_line_2 varchar(255) NOT NULL default '', if($row["address_line_2"]==' ') // there is a space between the quotes [/snip] address_line_2 varchar(255) NOT NULL default '', <--- no space between quotes so if('' == $row['address_

[PHP] odd results with database string comparisons

2004-08-12 Thread Matthew Oatham
I have a database table with the column described as address_line_2 varchar(255) NOT NULL default '', when I do a select I want to see if there is anything in that column if there is text I will display it in a html table if there is nothing (the table default) I will write   However the follow