'web developpement made easier'   




Introduction

Installation

Using templates

Using php variables

Calling a php function

The 'func' keyword

Loops

Database access

Handling conditions

Authentification


Printing a variable's content :

Wherever in a web page { $variable_name} prints the php variable's value. It works as well in tags too.

For instance the code provided below shows a length increasing text input, the current length being shown both in the title and in the input itself :

<html>
<title> The current length is { $size} </title>
<body>
<form method="post">
<? $size++; ?>
<input type="text" value="{ $size}" name="size" size="{ $size}" />
<input type="submit" />
</form>
</body>
</html>


As for inclusion in bZ's tags, no curly braces are required (to avoid confusion with the end of the tag) : {bz:load card="test.html" a="$name" } calls the card with the variable 'a' initialized with the content of the variable 'name'.

 


Thanks to SourceForge.net Logo for hosting.       webmaster : bzsoft@free.fr