Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

array

<?php

$user1 = ['Mickaël Andrieu', 'email', 'S3cr3t', 34];

echo $user1[0]; // "Mickaël Andrieu"
echo $user1[1]; // "email"
echo $user1[3]; // 34
Source by openclassrooms.com #
 
PREVIOUS NEXT
Tagged: #array
ADD COMMENT
Topic
Name
6+5 =