/ Published in: PHP
Beginner PHP Chapter 5 - Arrays
Expand |
Embed | Plain Text
<?php $variable_name[] = 'valueA'; //Add a value to the array. If you do this again, it will add a second value to it, not replace the first one. sort($variable_name); //Sorts the values within an array. There are several types of sorting, each with their own options. ?>
You need to login to post a comment.
