What I'm trying to do is, insert a oracle database into a dropdown menu using flash or fireworks or whatever works, so when the database is updated the dropdown would include those updates. I hope this makes sense, if you need more clarification let me know.
Is it possible to insert a database to a html dropdown menu?
The preferred method is to use a server side scripting technology which requires that your server have the platform installed on it. You can't do this with just flash alone since it would present a huge open hole to your database if people could just make requests from things hosted on a web page.
The two hot ones right now are PHP and ASP.NET. Both have huge user communities to help new users get started, and both have a very active development community making the technology better every day.
In asp.net the construct is called "databinding". In the code, behind your page (on page load), you just do something like
myDropdownlist.dataSource =
myOracleHelper.GetSomeCodesAndValues("... staement");
myDropdownlist.DataValueField = "codeValue";
myDropdownlist.DataTextField = "description";
myDropdownlist.DataBind();
With something like that, the list presented to users would be updated any time you edit the table in the database.
For some beginners information on how asp.net works, check out http://www.asp.net/get-started/
further beginners video tutorials can be found burried in the menus at msdn.microsoft.com
Reply:You could do it with php.
Reply:you should be able to incorporate some server side code using Flash's Actionscript (if you are already using a flash based site).
Fireworks? isn't that basically photoshop? I don't know what that would have to do with database connectivity.
You are going to need some sort of Server Side scripting. Find what kinds of scripting your server supports and go with that one.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment