Posted by Sunny Boy on 08/27/05 12:53
Death Gauge wrote:
> I've made a site with 5 sites in it and has about 6 MySQL/PHP News
> databases. A while back I tried to use drop-down combo boxes to make a
> single page that linked all 6 news scripts so I could pick one from the
> drop-down enter the news and hit submit to add it to the site. The down
> side is that it didn't work and deactivated the submit button. Is there
> a way to make a drop-down combo box so that when I pick the item name it
> loads the said page under the combo box and then lets you submit and
> pick another one if you need to post to another database. I have 6
> scripts that post to each database. Any help, code, or advice would be
> greatly appreciated.
>
> --Death Gauge
> "How do you gauge your death?!"
>
> _________________________________________________________________
> Express yourself instantly with MSN Messenger! Download today - it's
> FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
Maybe try a bit of XmlHTTPRequest and some Javascript. When the first
item is selected (and maybe a submit button is pressed) it goes to the
XmlHTTPRequest script, gets the data from a php script and echos the
output. I'm only a beginner on XmlHTTPRequest, so I can't help you
code-wise. Sorry.
[Back to original message]
|