Hi. I do appreciate thatyou have taken the time to maintain a forum. Really. Thanks. BUT
Here you have a link in the forum…
http://www.phphelp.com/forum/beginners-learning-php/helpful-guides-for-beginners-and-advanced-users/
Hi all
lately we have been having a lot of people using PHPHelp.com, but it seems we are getting more and more people saying something like “I am very new to PHP and I need help.” Some of these people don’t even have the basic understanding of what PHP is or how to use it.
And on page 4 you use the following code.
http://www.phphelp.com/php_tutorial/getting-started-with-php.php?page=4
There is no way for we - the newbies to compile and see this DYNAMIC CODE in action.
There is just not enough information.
Dynamic Content
I’m sure you’re interested in doing more with PHP than saying hello to the world. Otherwise, you probably would not be here reading about an HTML-embedded scripting language. You want a script that does something useful. Let’s go deeper into PHP by writing a Tip of the Day script. It will introduce several new functions and concepts, but you do not have to understand them all at once. It also offers an introduction to working with the file system.
[php]<?php
srand((double)microtime()*1000000);
$tiplist = file(“photo.tips”);
$ntips = sizeof($tiplist);
$rtip = rand(0,$ntips-1);
$tip = $tiplist[$rtip];
echo $tip;
?>
[/php]