Learning PHP and MySQL

Example 06-01 Using the array function to create an array of weekdays

<?php
$weekdays
=array('Monday',
                
'Tuesday',
                
'Wednesday',
                
'Thursday',
                
'Friday',
                
'Saturday',
                
'Sunday');
?>

Posted by on 08/07 at 10:17 AM

Next entry: Example 06-02 Creating an associative array of shapes

Previous entry: Question 05-01 What’s wrong with this function call?

<< Back to main