Is it possible to create a Web page consisting entirely of PHP scripting statements? Is it feasible to do so?
PHP Web Pages
Started by atrip25, Nov 27 2009 07:33 AM
1 reply to this topic
#1
Posted 27 November 2009 - 07:33 AM
|
|
|
#2
Posted 27 November 2009 - 07:57 AM
Possible, absolutely.
It's not hard either, just do
But there are times where you let php do all output, yes.
It is often a matter of how you want to code as well.
I do the first version almost all the time if I don't use a template handler
It's not hard either, just do
<?php echo "<html><head>";and so on for your output. but as PHP is constructed, it's lots easier to write
<html><head> <?php // do the php stuff ?> </body></html>
But there are times where you let php do all output, yes.
It is often a matter of how you want to code as well.
I do the first version almost all the time if I don't use a template handler
__________________________________________
I study Information Systems at Karlstad University when I'm not on CodeCall
I study Information Systems at Karlstad University when I'm not on CodeCall


Sign In
Create Account


Back to top









