DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Test

12.07.2006
| 1556 views |
  • submit to reddit
        // description of your code here

<?
	if (in_array($r["type"], Array(1, print str_replace("; ;","",(get_part_of_text($desc, 300)));
	else { $sql->query("SELECT of.phone FROM offers o, offices of
			WHERE o.office_id=of.id AND o.id=".$r["id"]);
		list($office_phone) = $sql->getrow(
print (str_replace("; ;","",(get_part_of_text($desc,300))))."<br/><b>Contacts</b>:".$office_phone;
	}