PHP with JS chained select

Posted by horizon, 02-27-2010, 09:52 AM
Hi, I'm currently using the chained select contribution from dynamic drive. The following code below is captured from a JS file. What I would like to do is to output all these constant readings from mySQL (using PHP) but I cannot find the right way from a loop to do it. Note: Each lines that contains: "", "", 1 and everywhere it says to select an option must NOT be looped. Anybody has an idea on this one ?

Posted by mattle, 03-01-2010, 08:43 AM
Really need to see your database structure here...

Posted by horizon, 03-01-2010, 09:08 AM
This request has now been completed. I forgot to update the topic.

Posted by Angelo, 03-04-2010, 02:21 PM
You can output PHP code as a javascript, but need to escape it correctly.

Was this answer helpful?

 Print this Article

Also Read

godaddy

Posted by cariani, 09-09-2001, 06:59 PMwww.godaddy.com is the best: 8 - 8.85 $ year for one or...

problem when clicking a link

Posted by mohammadi, 11-20-2010, 02:56 AMHello, how can I use a link in a form to submit instead...

/home/ privacy

Posted by Weedy, 04-14-2009, 09:19 AMHow do I keep users from spying on each others files? If I...

cobol Class need help with code.

Posted by slayer1189, 10-24-2012, 11:56 AMI am trying to have the program sort through the input...

Extension issue

Posted by imad77, 04-20-2009, 10:39 AMHi, I run a Perl/CGI script from a Web page to download...