Forums / Developer / How can I make database connection to retreive my data in tpl?
Rizwan Ahmad
Friday 11 July 2003 5:21:52 am
I can create a table in mysql "nextgen". Now my question is how can I make the database connection and retreive the data in the tpl. How can I develop database driven application using ez Publish
Plz. help
Karsten Jennissen
Friday 11 July 2003 5:42:47 am
If you just want to get data from the current structure you can use the fetch function.
http://ez.no/developer/ez_publish_3/documentation/customization/tips_tricks/fetch_function_examples
If you have something, that cannot be solved with the flexible data structures of eZ publish, you can write your own extension.
http://ez.no/developer/ez_publish_3/documentation/development/extensions
Karsten
Monday 14 July 2003 12:36:30 am
Can I use my sql query in the fetch statement as well