-
delete a piece of text from a file...
how do you make a script that will delete a piece of text from a file eg:
text.html contains "hello my name is...";
the script will remove "hello" from text.html?
Last edited by lankinator; 08-04-2007 at 02:02 PM.
-
-
str_replace('hello','',$string);
Daniel -
Freelance Web Design | <?php?> | <html>| Deutsch | italiano | español | português | català | un peu de français | Ninasoma Kiswahili | 日本語の学生でした。| درست العربية
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks