database access
Posted: Sun 1. Jul 2007, 23:39
Hi all,
what would be the best method to access a table from the database. Somebody mentioned it's all (db name, user etc.) already in an array?
Backround: I creted a new table containing additonal info about bike tours which I read out with a php script which I include in a specific template. I try to use global variables and methods instead of defining it again just for this script.
Second problem (that's the disadvantage not using the defined structure) the data in this table is not included in the site search. Is there any easy way to workaround this?
Thanks for any hints, Beppo
what would be the best method to access a table from the database. Somebody mentioned it's all (db name, user etc.) already in an array?
Backround: I creted a new table containing additonal info about bike tours which I read out with a php script which I include in a specific template. I try to use global variables and methods instead of defining it again just for this script.
Second problem (that's the disadvantage not using the defined structure) the data in this table is not included in the site search. Is there any easy way to workaround this?
Thanks for any hints, Beppo