Tutorial - How to use arrays in php
Thursday, June 26th, 2008Using arrays in PHP can be a very powerful technique of handling data. If you are not familiar with arrays in PHP then use simple code! Example of simple code. [RAW]$fruit['apples'] = 'I like apples';[/RAW] [RAW]$fruit['oranges'] = 'I like oranges';[/RAW] [RAW]$fruit['banana'] = 'I like bananas';[/RAW] Example of advanced code. [RAW]$fruit = array("apples" => 'I like apples', "oranges" ...