BLHTML.org

Variable Handling / Variable deklaration /

 
  phparray 1345 0
Create manage PHP array.

#$test[+](BLHTML is easy)#
#STR array=test type=tophparray return=t#


<pre class=code>
#$t#
</pre>

#STR value=$t type=fromphparray return=back#
$back[0]="#$back[0]#"<br>
$back[1]="#$back[1]#"<br>
$back[2]="#$back[2]#"
  • #$test[+](BLHTML is easy)#
    // Sätter BLHTML array: $test[0]="BLHTML", $test[1]="is", $test[2]="easy"
  • #STR array=test type=tophparray return=t#
    // konverterar BLHTML array $test[+] to $PHParray = array();
    // Save PHParray in BLHTML variable $t
  • #STR value=$t type=fromphparray return=back#
    // konverterar PHParray back to BLHTML array
Returns:
array (
  0 => 'BLHTML',
  1 => 'is',
  2 => 'easy',
)
$back[0]="BLHTML"
$back[1]="is"
$back[2]="easy"

More information:
  • Variable handling
  • STR
  • BLHTML forum  


    apache MySQL PHP No to software patents! BLHTML
    © 2003, 2010 BLHTML
    This page is created with BLHTML in 0.1178 seconds