Storing Data in Arrays (Programming PHP)
Storing Data in Arrays (Programming PHP)
home |
O'Reilly's CD bookshelfs |
FreeBSD | Linux | Cisco |
Cisco Exam
$addresses[0] = '[email protected]';
$addresses[1] = '[email protected]';
$addresses[2] = '[email protected]';
Ads by // ...
$price = array('Gasket'=>15.29,'Wheel'=>75.25,'Tire'=>50.00);
$addresses = array( );
Ads by
Trying for a Top consultancy? // - Akudemy
https://docstore.mik.ua/orelly/webprog/php/ch05_03.htm 1/3
9/1/2021 Storing Data in Arrays (Programming PHP)
The range( )
function creates an array of
consecutive integer or character values between the two values you
pass to it as
arguments. For example:
Only the first letter of a string argument is used to build the range:
Notice how the new values are appended to the end of the array. If
you want the new values added to the start of the array,
use a
negative second argument:
Ads by
Send feedback Why this ad?
Learn what you need to pass Top tech exams, start today! github.com
https://docstore.mik.ua/orelly/webprog/php/ch05_03.htm 2/3
9/1/2021 Storing Data in Arrays (Programming PHP)
Ads by
Send feedback
Ads by
Trying for a Top consultancy? - Akudemy
Learn what you need to pass Top tech exams, start today! github.com
https://docstore.mik.ua/orelly/webprog/php/ch05_03.htm 3/3