Harry7979
May 28th, 2004, 08:08 AM
Hey,
This isn't like most of the topics posted on codeguru. This may sound a bit funny to you.
I've used PHP and MySql for about a year now. What we do is do normal php coding. That is, we have HTML as well as PHP code in the same file. We save it as .php. I've heard about Tempalate baed coding wherein you have separate directory HTML pages and separate directory for php scripting pages.
Also, I've heard that Tempalate based coding is more important and is widely used around.
Please guide me. As of now, I have no knowledge which is better. Is everyone using Template based coding ? Is my coding style out-dated ?
Is there a need for me to learn template based coding ? If yes, please refer a site so that i can learn it in a giffy.
By the way, these smileys appear only the end of the message. I cant put any of these smileys in the middle of the message (somewhere between two lines).
Regards
This isn't like most of the topics posted on codeguru. This may sound a bit funny to you.
I've used PHP and MySql for about a year now. What we do is do normal php coding. That is, we have HTML as well as PHP code in the same file. We save it as .php. I've heard about Tempalate baed coding wherein you have separate directory HTML pages and separate directory for php scripting pages.
Also, I've heard that Tempalate based coding is more important and is widely used around.
Please guide me. As of now, I have no knowledge which is better. Is everyone using Template based coding ? Is my coding style out-dated ?
Is there a need for me to learn template based coding ? If yes, please refer a site so that i can learn it in a giffy.
By the way, these smileys appear only the end of the message. I cant put any of these smileys in the middle of the message (somewhere between two lines).
Regards