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 array I can reference it like so:
>
>       echo("$array[$i]["course_num"] $array[$i]["course_title"]");

Change this to

echo ("{$array[$i]['course_num']} {$array[$i]['course_title']}");

-- 
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)

Google results 1-10 of about 142,000,000 for e. Search took 0.18 seconds.

- http://www.google.com/search?q=e

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to