[KLUG Members] PHP
Jeremy Leonard
members@kalamazoolinux.org
Thu, 19 Feb 2004 21:17:02 -0500
What would be better practice when using php for a website?
To use html and php in the same document, switching back and forth like
this.
HTML
PHP
HTML
PHP
HTML
Or would it be better to use all PHP in one block and in cases where you
don't really need php just echo the html.
HTML
PHP
HTML
For example:
I'm building a site with some forms... duh.
Anyway...
Some of the form information is from a mysql database. I populate some
dropdown boxes with this data.
Should I bounce in and out of php to build this form or just do it all in
php?
Jeremy Leonard