[PAYING] Can someone make this for me

  • Fanatic
  • Born
  • Born
  • Fanatic
  • Posts: 3

Post 3+ Months Ago

I am in need of a page, which can take the template called "home" which is inside the database in the table "templates" where ID="1".

Also inside this "home" template in database, I need to have a lot of html, but also need to have some PHP functions.
I have spent long time to do so the database template can include PHP codes, such as a code which takes the template called "header" or "footer" inside the database. And put that on the page..

Hope someone would be able to help with me this, as I have tried so many things now.

I am willing to pay the one which makes this working.
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8413
  • Loc: USA

Post 3+ Months Ago

Are you talking about something along the lines of this tutorial but is run through the MySQL database?

Also, why are you trying to use the MySQL database for templates? Can't you do it from files?
  • Fanatic
  • Born
  • Born
  • Fanatic
  • Posts: 3

Post 3+ Months Ago

Bogey wrote:
Are you talking about something along the lines of this tutorial but is run through the MySQL database?

Also, why are you trying to use the MySQL database for templates? Can't you do it from files?


Yes, like that, but the reason I want it to come from the database is because I need to make a Admin Panel which can edit in the template.
  • SpooF
  • ٩๏̯͡๏۶
  • Bronze Member
  • User avatar
  • Posts: 3422
  • Loc: Richland, WA

Post 3+ Months Ago

If you store PHP code in a database and need to have it executed check out eval.

However you should not do this.
  • Fanatic
  • Born
  • Born
  • Fanatic
  • Posts: 3

Post 3+ Months Ago

SpooF wrote:
If you store PHP code in a database and need to have it executed check out [url]eval[/url].

However you [url]should not do this[/url].


But I am pretty new to this?
Can anyone help me.

I am willing to pay a small amount.
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8413
  • Loc: USA

Post 3+ Months Ago

You can do that through the file_get_contents and file_put_contents.
  • Mustafa_Aslan
  • Beginner
  • Beginner
  • Mustafa_Aslan
  • Posts: 38

Post 3+ Months Ago

Why don't you use template engine like smarty? address is smarty .net

Post Information

  • Total Posts in this topic: 7 posts
  • Users browsing this forum: No registered users and 65 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.