This topic is locked

How to hide the google map when a address is not entered?

2/23/2010 10:57:27 AM
PHPRunner General questions
N
Nelson author

Hi,

How could I hide the google map when a address is not entered?


in the above picture...the above map shows when a user has entered a address...and the below that there is a blue empty map...thats when someone hasn't entered a address...how can I hide the field when the user has not entered a address??
Thanks

Nelson

W
wrjost 2/23/2010

Hi, Nelson,

just add "where address_field IS NOT NULL" to the query which selects your data.
Greetings,

Wilfried

N
Nelson author 2/23/2010



Hi, Nelson,

just add "where address_field IS NOT NULL" to the query which selects your data.
Greetings,

Wilfried


Hi,

You mean something like this:(Area is map/address field)
SELECT testingID,

Km,

Price,

Model of the car,

Area

FROM testing8

where Area IS NOT NULL
It's not working, still shows an empty blue map!