thanks for your answer
firstly i know how to create the database
and i've used ASP before for HTML website i made for an university project.
but i would like to know how to do the same with WML (i used dreamweaver before for the project)
whats the first step
considering i've already made the database
how do i now connect that to an WML file?
Main Topics
Browse All Topics





by: purpleblobPosted on 2003-11-09 at 08:26:30ID: 9710236
Wow, that's quite a question as it covers many things - let's answer your last question first.
sp/default .asp - you specifically need to look into connecting to databases and using RecordSets (if using old ASP). Also the same site http://www.w3schools.com/p hp/ but different folder will give good info. on PHP
PHP and ASP are (for the most part) much the same, i.e. they're both server side scripting, they also both allow you to work with databases and create dynamic web sites. Would it be easier to use ASP or PHP is not one that can be answered without know more about what you already know. For example ASP can be written using VBScript (the default language) or JavaScript (well JScript - the MS JavaScript). VBScript is a pretty simple language to use so it's quite easy. PHP uses it's own language which I find resembles C in someways (although without pointers etc.) aspects of it are Perl like also.
Both PHP or ASP will do what you want, I think what you really need to do is focus on what OS you're going to use and other technologies. For example, PHP is generally the choice on a Unix/Linux based server whilst ASP (or the more recent and more powerful ASP.NET) would be Microsoft based - so which does your ISP or server use - Windows or Linux ?
As you say, what you want to do (to be truly dynamic) is store your ringtones either in a database in a blob field or store them on the server's hard drive and store the URL's to them in the database. The database for this will be fairly simple, I mean all you really need is a single table with two fields (at the minimum) the two fields would hold the name of the ringtone for easy accessibility to it and the other field either the ringtone or URL (discussed previously).
Without going massively in depth on how to do what you want, I would suggest checking out http://www.w3schools.com/a
But I think firstly you might wish to decide which technology to use (as said) this will depend partly on what server you or your ISP are running and what's available. I would probably say ASP is the easiest to learn for a beginner.
Good luck