how can i change this so if the line conatins rental then continue
<? }else if($line["type"] contains "Rental"){?>
cheers aron.
Maybe you should go read the MANUAL
www.php.net/strstr www.php.net/stristr www.php.net/strpos www.php.net/ereg www.php.net/eregi www.php.net/preg_match
Not to mention you could just use the obvious: if ($string == "my string") { ...
yes but i have Rental , Rental Unit, Rental Villa, Rental House, Rental Car, Rental Boat etc...
superwormy's links are all you need.