Strange question here:
When a query is performed and displayed. When the result is displayed using the print command. Is there anyway to skip the very first character. I've looked in my PHP book and haven't come across anything yet. I'm hoping someone can help me out here.
Use the substr function
$somestring = "PHP is cool"; $newStr = substr($somestring, 1, strlen($somestring)); // $newStr will have "HP is cool";
hope that helps. if you want to replace the original string just say
$somestring = substr(...)