I am attempting to insert a set of data (actually a pair) into an array,
without much success. I would like to insert the data set ("course
number", "course title") into a numerically indexed array so that when I
want to output the array I can reference it like so:
Try:
echo $array[$i][course_num] . ' ' . $array[$i][course_title];
-jm
-Original Message-
From: Scott Walter [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 22, 2001 1:59 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Arrays -- How do I insert a pair of data into an array
I am
On Thursday 22 February 2001 22:58, Scott Walter wrote:
I am attempting to insert a set of data (actually a pair) into an
array, without much success. I would like to insert the data set
("course number", "course title") into a numerically indexed array so
that when I want to output the
3 matches
Mail list logo