[ciapug] PHP/Java
Dave J. Hala Jr.
ciapug@cialug.org
12 Jan 2004 08:12:23 -0600
Here's a good one for monday morning:
I have a php script. The scripts reads some values from a mysql table
and creates a listbox. Next to the listbox is an input field.
What I'd like to do is have a small javascript that inserts a default
value into the input field according to the option that was selected
from the listbox. The problem is that the values for the input field
also come from a mysql table.
My question is, can the javascript use the data from a php array?
Any ideas? Any examples?
:) Dave
--
"...Unix, MS-DOS and Windows NT (also known as the Good, the Bad, and the Ugly)"
OSIS
Dave J. Hala Jr.
641.485.1606