ajetrumpet
Banned
- Local time
- Today, 04:12
- Joined
- Jun 22, 2007
- Messages
- 5,638
all,
i am beginning with mysql and i would like to build a db driven site right the first time, so i don't have to deal with unnecessary changes in the future.
my question is simply: what is the general process for displaying web pages using content from a mysql database?
i have not done any research, and i'm not asking for PHP code to do this, but I simply want to know (in my mind's eye) how this stuff is done. Here are my assumptions:
***Webpage templates are created with layout objects on them (positioned accordingly), be it tables, frames, image placeholders, and whatever else.
***PHP is written to pull the content out of the record specified through the various fields, based on the query string in the URL.
if that is simply the case of how db websites work, it seems like a relatively painless process, but still a long one. is this how things generally work? and if so, are the controls on the webpage dynamically populated with the PHP code, or can the controls have some sort of "tag" attached to them (sort of like a bound field on an ACCESS form) that basically says, "display the content from field "A" based on the query string".
thanks for any input on this! appreciate it!
i am beginning with mysql and i would like to build a db driven site right the first time, so i don't have to deal with unnecessary changes in the future.
my question is simply: what is the general process for displaying web pages using content from a mysql database?
i have not done any research, and i'm not asking for PHP code to do this, but I simply want to know (in my mind's eye) how this stuff is done. Here are my assumptions:
***Webpage templates are created with layout objects on them (positioned accordingly), be it tables, frames, image placeholders, and whatever else.
***PHP is written to pull the content out of the record specified through the various fields, based on the query string in the URL.
if that is simply the case of how db websites work, it seems like a relatively painless process, but still a long one. is this how things generally work? and if so, are the controls on the webpage dynamically populated with the PHP code, or can the controls have some sort of "tag" attached to them (sort of like a bound field on an ACCESS form) that basically says, "display the content from field "A" based on the query string".
thanks for any input on this! appreciate it!