There's no direct way to do animation in PHP, as it's a server side scripting language. That means that from the browser's point of view, there is no PHP code. It's just a static document that happens to be generated using PHP on the server side. If you want to do animation, you'll need to include client side scripting such as Javascript or Flash (or an animated GIF if something that simple meets your needs).
Chat with our AI personalities
PHP is a recursive acronym for "PHP: Hypertext Preprocessor" created by The PHP Group. PHP is a widely used server-side scripting language and the general purpose of PHP is to create dynamic Web Pages. For more information, visit the PHP website.
"PHP: Hypertext Preprocessor".
< ?php // This is an example of comment in PHP /* This is another example of comment in PHP and we can write comments in multiple lines using this method */ ? >
PHP: Hypertext Preprocessor is the full name of PHP. It originally stood for Personal Home Page. This was changed in 1997 with the release of PHP 3.
The lastest stable versions of PHP (as of March 3, 2012): PHP 5.4: Version 5.4.1 PHP 5.3: Version 5.3.11