Linking listbox to an external database

Classic_Cool

New Member
Hi guys. Below is a listbox from a company intranet site I'm working on. Basically when it's finished you can select an employee from the list and the "changeIt" function will execute to change the display picture to a map of that person's location.
So I could put the several hundred names in the HTML but it would be neater and more useful for us if we could draw from an external file of some sort, that way office services could update the company directory without needing IT to make the changes for them. Trouble is I don't know anything about databases and little about web design, it just wasn't my focus in college :eek: Can anyone give me some pointers? Thanks.

<select onchange="changeIt(this.value)" multiple="multiple" name="People" style="height:255px; width:220px">
<option value="image1">Test Name 1</option>
<option value="image2">Test 2</option>
<option value="image3">Test 3</option>
<option value="image4">Test 4</option>
<option value="image2">Test 2</option>
<option value="http://www.tneoh.zoneit.com/cgi/upload">Test 3</option>
<option value="http://www.tneoh.zoneit.com">Test 4</option>
<option value="image2">Test 2</option>
<option value="http://www.tneoh.zoneit.com/cgi/upload">Test 3</option>
<option value="http://www.tneoh.zoneit.com">Test 4</option>
<option value="image2">Test 2</option>
<option value="http://www.tneoh.zoneit.com/cgi/upload">Test 3</option>
<option value="http://www.tneoh.zoneit.com">Test 4</option>
<option value="image2">Test 2</option>
<option value="http://www.tneoh.zoneit.com/cgi/upload">Test 3</option>
<option value="http://www.tneoh.zoneit.com">Test 4</option>
</select>
 

websonalized

New Member
There is much involved, database, opening database connection, get table content, assing to array of arrays (assuming php, mysql, and html) and then echoing the html of the list and form to change the table.

Best thing for you to do is to learn the whole process, lynda.com, or hire someone to do it
 
Top