Welcome to PHPMule.com
A blog site which I am posting to during my learning of the popular programming language PHP. Feel free to leave comments!
-
PHP - Dynamic Content
Dynamic content in PHP basically means that the content changes. For example: If a visitor to your site submitted a comment you could have your script to output the date and time of the comment back to the user. As the date and time will be different in every comment it’s known as dynamic content. Let’s use the date function:
<?php
echo “<p>Comment processed. Date and time processed: “;
echo date (’H:i, jS F Y’);
echo “</p>”;
?>
The above will output to the browser: Comment processed. Date and time processed: 18:20, 4th April 2009
Quite easy to be honest and PHP can be used in many ways like this!
(Post created on Saturday, April 4th 09 at 18:40)
-
Calendar
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « Jun | ||||||
| 1 | 2 | 3 | 4 | 5 | ||
| 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| 13 | 14 | 15 | 16 | 17 | 18 | 19 |
| 20 | 21 | 22 | 23 | 24 | 25 | 26 |
| 27 | 28 | 29 | 30 | |||
Archives
Recent Articles
- PHP - Rounding Off Numbers
- PHP - Single vs Double Quotation Marks
- PHP - Loading Files Into Your PHP Script By Using require() and include()
- PHP - Replacing Strings With Other Strings
- PHP - Finding Strings Within Strings
- PHP - Using strlen() To Test String Length
- PHP - Using The explode() Function
- PHP - Changing The String Case
- PHP - The nl2br() Function
- PHP - Trimming Strings
Links
Categories
- PHP (22)
- Uncategorized (1)


