Indometric


Posts Tagged ‘Learn HTML Basic’

Jun 26
Thursday

Creating PHP Variables

Filed under PHP & MySQL

That’s not a typoPHP lets you start variable variables. A variable variable is one that holds the name of a variable. Here’s how it works: you start a variable named, say, $apples:

Continue…

All entries filed under this archive


Running PHP on the Command Line
no responses - Posted 06.26.08
If php is in your path, you can run this from the command line like so (where % is a generic, cross-platform command-line prompt, and this example assumes you're in the same directory as echo.php): continue
Mixing PHP in Some HTML
no responses - Posted 06.26.08
PHP files are most often mixtures of HTML and PHP scripts. Putting HTML and PHP scripts into the same document is no problem because you put your PHP statements inside a script bounded by <?php and ?>, which means the server can pick them out easily. continue


All content and source © 2010 Indometric. All rights reserved. See our Privacy Policy and DMCA Information