Forums
This topic is locked
How to create "Templates"
Posted 02 May 2002 19:56:20
1
has voted
02 May 2002 19:56:20 Jens Stroede posted:
I need to create templates, which are loaded from an mysql db. how can i use php to do that? Replies
Replied 14 May 2002 15:27:40
14 May 2002 15:27:40 Jonathan Manning replied:
c'mon peeps, someone must be able to point us in the right direction, I don't want anyone to walk me through it, but just point out where I should be looking for tutes etc.
I would like to be able to use one html template and using Ultradev make it possible that when someone clicks a navigation link the data is inserted from a database into the template.
I am using Phakt and Ultradev 4, with a MySql database, somebody must know where I can find out how to do this <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>
cheers peeps, catch ya l8r
I would like to be able to use one html template and using Ultradev make it possible that when someone clicks a navigation link the data is inserted from a database into the template.
I am using Phakt and Ultradev 4, with a MySql database, somebody must know where I can find out how to do this <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>
cheers peeps, catch ya l8r
Replied 14 May 2002 20:17:29
14 May 2002 20:17:29 Tim Green replied:
Unfortunately the template method you describe really requires a total separation of PHP code and HTML. This is not possible with UltraDev, as it is an inline editor, hence the lack of response, sorry.
There are alternate systems available for creating content in this way, unfortunately it isn't just a simple matter of retrieving page content from a database and loading it into your page. Nothing in life is ever that easy.
Regards
Tim Green
Extension & PHP TalkZone Manager
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>
There are alternate systems available for creating content in this way, unfortunately it isn't just a simple matter of retrieving page content from a database and loading it into your page. Nothing in life is ever that easy.
Regards
Tim Green
Extension & PHP TalkZone Manager
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>
Replied 15 May 2002 12:15:47
15 May 2002 12:15:47 Jonathan Manning replied:
Thanks for the reply Rawveg.