newbie question...should be simple enough

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
kyletrip
Forum Newbie
Posts: 1
Joined: Fri Mar 21, 2003 4:14 pm

newbie question...should be simple enough

Post by kyletrip »

my php is reading a text file... in the text file i have a bunch of text beginning with the string "tb= " i want to be able to remove that string of characters from the front of the text so i can add more text, and then add that string on once again...im most grateful for all the help you can give me...thanks
Kyle
matthiasone
Forum Contributor
Posts: 117
Joined: Mon Jul 22, 2002 12:14 pm
Location: Texas, USA
Contact:

Post by matthiasone »

to remove the characters read:

http://www.php.net/manual/en/function.substr.php

join the additional text by concatenating.
Post Reply