Is there anyway to check a part of a value to see if it consist of specific words. For instance...
If a value from a database = "Availalbe Now"
I want to see if that value returned consists of the word "Available" how would I do that?
Thanks Jason Hall
see the functions "ereg" ,"strstr" ... from the manual and u can get the answer
Using is this way, why would I get this error...
If ereg("PENDING",$Available); ( $Font = "green"; }
Error: Parse error: parse error, expecting `'('' in /home/ejfweb/ejfrealestate-www/html/forrent.php on line 194
the right syntax is :
If (ereg(\"PENDING\",$Available)) { $Font = \"green\"; }