Jump to content

php templating


adam291086

Recommended Posts

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.