28.4.1. Variables
Variables are those elements that are given variable values, depending on the case. Here is an example:
<? |

- As with every PHP script, we have to designate its start and end. Here is the start...

- We check if the foobar variable has the value 1.

- If it does, we output a message. We do this with the echo function. This functions will print whatever is included in the double quotes. The double quotes may contain other variables (in which case the echo command will print their values), HTML code etc. If you want to print double quotes, you have to escape them with a backslash.

- If it doesn't, we also output an aproppriate message.

- ...and here is the end of the script.
See also PHP variables.
|
Module for PHP-Nuke Documentation brought to you by Chris Karakas |










