[PHP] need help w/ Split()

2001-03-08 Thread Scott Walter
I am attempting to take a line of text (a list) that has been entered into a form and split it into the appropriate parts, placing them into an array. I am splitting the input on commas, semi-colons, and spaces. Problem 1: Is with "white space". If the input has spaces after a comma, it

[PHP] Arrays -- How do I insert a pair of data into an array

2001-02-22 Thread Scott Walter
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: