Inserting text into template added by the user

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
austin6118
Forum Newbie
Posts: 2
Joined: Tue Apr 14, 2009 4:32 pm

Inserting text into template added by the user

Post by austin6118 »

As of now I have a form where you add different images from your computer and they are then to be shown in the next page when you hit OK. The user is also going to be able to add the template they want to use for these pictures. My problem/question is how to add these pictures into a specific area of the template once the user adds the template desired. The other part of this is that the user needs to be allowed to write some text and that text will be entered into the body of the page. The main concern is just how to assign these fields into a particular part of the page.
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: Inserting text into template added by the user

Post by Christopher »

Allow users to embed some kind of tag like "{photo}" that you will replace with the actual value when you generate the page.
(#10850)
Post Reply