| 
	
 | 
 Posted by Geoff Berrow on 03/10/07 00:26 
Message-ID: <55e9srF251ueiU1@mid.dfncis.de> from Christoph Burschka 
contained the following: 
 
>> If you don't know if the variable even exists, use 
>>      if (exists($book_review_url) && $book_review_url != "") 
> 
>exists() isn't mentioned anywhere in the PHP manual - I assume you mean isset()... 
 
or you can just do 
 
 if (!empty( $book_review_url )){ 
,,, 
} 
 
--  
Geoff Berrow (put thecat out to email) 
It's only Usenet, no one dies. 
My opinions, not the committee's, mine. 
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
 
[Back to original message] 
 |