I read 2/3 of Chapter 1.
New things learned:
-PHP always need a server to be able to run
-Using a simple code you can test to see if your server provider supports PHP:
[< ?php
phpinfo();
?>]
Create a file called test.php, put it on your server and enter its URL into a web browser. If the browser displays information about PHP then your server supports PHP.
-PHP is dynamic
-PHP is always enclose by
- Each ends with a ;
- variable names must begin with $ and can only have _ in them, no spaces or any other special characters
-good naming convention = all lowercase and separate multi-word variable with underscores
-PHP is only case sensitive when its variable name but is insensitive when its commands
Example 1
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment