[PHP] HOWTO: Dynamically Create A Form

2001-04-04 Thread Scott Walter
I know this sounds very simple, but I only want certain fields on my form to be displayed depending on the selected item in a drop-down menu, that is part of the form. I cannot figure out how to get it to work, and I don't want to resubmit the form... *** I need it to be done on the fly.*** Y

[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 spl

[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: echo("$array[$i]["c