Search found 2 matches
- Sun Mar 05, 2006 8:11 pm
- Forum: PHP - Code
- Topic: slit a string?
- Replies: 3
- Views: 204
thanks, but your code doesn't do anything???? actually, i need a function that delete all [img] tag in a text string for sample: $string = This is my text [img:Blue hills.jpg,align=,width=700,height=525,vspace=0,hspace=0,border=1] it's contain many [img:rings.jpg,align=,width=400,height=325,vspace=0...
- Sun Mar 05, 2006 6:36 pm
- Forum: PHP - Code
- Topic: slit a string?
- Replies: 3
- Views: 204
slit a string?
i need some code to slit a string with some special tag $needslit = "This is my string that contains :img: height=100 width=200 :/img: ... someone help me"; // 100, 200 isn't a fixed number, it can be any number!! afterslit($needslit); //$needslit: "This is my string that contians ......