Can you use both in a web page without them fighting?
coopster
1:43 pm on Apr 17, 2010 (gmt 0)
Welcome to WebmasterWorld, Juantus.
Absolutely! Have a look at the tutorial [php.net].
omegaman66
5:29 am on Apr 18, 2010 (gmt 0)
U can use html directly in a php page but not the other way around.
dreamcatcher
6:25 am on Apr 20, 2010 (gmt 0)
U can use html directly in a php page but not the other way around.
Thats not quite true. You can use .htaccess to parse html files as php.
dc
penders
11:18 pm on Apr 22, 2010 (gmt 0)
Remember that all the PHP is processed server-side (it is contained within special tags which clearly marks it), so by the time the page gets to the clients browser, there is only HTML left.