Posted by anonymus on 01/07/06 23:33
<?php $substring = substr("K123456", 0, 1); if($var == "K") { // code here if the string begins with "K" } elseif($var == "T") { // code here if the string begins with "T" } ?>
[Reply to this message]
Copyright © 2005-2006 Powered by Custom PHP Programming