adam291086 Posted April 5, 2009 Share Posted April 5, 2009 Hello, I need some advice on the best way to solve the problem below. I have a simple form that a user can fill out and the information is added to a database. This i can do easily. But i want to have a button the user can click called "create image". This will prompt for the user to select a template. Once selected all the information from the database will be put into certain areas of that template. I then need to create a final jpeg of the template design with the database information into it. Link to comment https://forums.phpfreaks.com/topic/152647-php-templating/ Share on other sites More sharing options...
Yesideez Posted April 5, 2009 Share Posted April 5, 2009 What type of template are we talking about here? HTML? Background image? Link to comment https://forums.phpfreaks.com/topic/152647-php-templating/#findComment-801653 Share on other sites More sharing options...
adam291086 Posted April 5, 2009 Author Share Posted April 5, 2009 They will be HTML or an Image. Which ever would be easiest Link to comment https://forums.phpfreaks.com/topic/152647-php-templating/#findComment-801654 Share on other sites More sharing options...
Yesideez Posted April 5, 2009 Share Posted April 5, 2009 If it were just an image I'd say create one using static text using the GD functions. If you have any static text that stays the same draw only that in an image and save it out - you now have a template image. All that you need do now is draw the data over the top. As for HTML just have it laid out and include it in. Link to comment https://forums.phpfreaks.com/topic/152647-php-templating/#findComment-801662 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.