Indometric


Posts Tagged ‘Running PHP Script’

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
Creating Your First PHP Script
1 response - Posted 06.26.08
Here's where all the action startscreating your first PHP scripts. With PHP, which will be run on the web server, you can make all kinds of things happen that couldn't happen before. You can have your PHP retrieve data from databases, check someone's password, print out customized greeting text, use ...continue


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