displaying array in specific character position in textarea

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
crazykeff
Forum Newbie
Posts: 8
Joined: Wed Oct 27, 2010 1:29 am

displaying array in specific character position in textarea

Post by crazykeff »

isit possible to display stored array information in specific position?

P.S. the numbers in the image examples are referring to the character length and position, for example $print[0] starts at character position 1 and the length is 30 characters long.
Attachments
indent.jpg
indent.jpg (14.37 KiB) Viewed 63 times
User avatar
Jonah Bron
DevNet Master
Posts: 2764
Joined: Thu Mar 15, 2007 6:28 pm
Location: Redding, California

Re: displaying array in specific character position in texta

Post by Jonah Bron »

I'm not entirely sure I understand what you want, but is substr_replace() what you want?

http://php.net/substr-replace
Post Reply