How do I make a PHP array? PDF Print E-mail

 
Comments (1)
php arrays
1 Thursday, 12 March 2009 14:02
Cameron Barr
You initiate a php array using the "array" function.

$myarray = array('this' => 'that');

You can also build and array this way:

$myarray['this'] = 'that';

Add your comment

Your name:
Your email:
Your website:
Subject:
Comment:

Login? ... Logout?



Joomla Templates by Joomlashack