Log in

View Full Version : Web Design and Programming Question Regarding SQL PHP ASP?



griceldax10
01-15-2012, 07:26 AM
Ok so I am familar with HTML CSS and Javascript and now im in a position that i need to create a form which i can do using Css and javascript but i need to collect the data from the server...

The hosting website godaddy says they use MySQL which i am starting to learn ..Will I need to know PHP or ASP to complete this process or is all of this possible in the SQL language...Could someone please send me on the right direction on what to learn to do this..I have access to learn anything and the time..What am i to do please help and thank you very much

web design new york (http://www.prositeplus.com/)
http://www.prositeplus.com/

djr33
01-15-2012, 07:58 AM
SQL is a database language, so that won't interact directly with the user (such as through Javascript), and you wouldn't want that anyway because it wouldn't be secure (any of your users could delete the whole database if they wanted, among other things).

You'll need a serverside language like PHP (and many others) to communicate with the database then to generate the HTML that you want.

Although it may sound like extra work, it will also be helpful in general to know PHP, so at least you get that out of it also.

As for the choice between ASP and PHP, it's fairly simple: if you plan to use Microsoft servers and only Microsoft servers, then ASP may be the right choice (although PHP can also run on Microsoft servers). If not, then you should definitely choose PHP because it's very common on linux servers. They can accomplish basically the same thing, but they are different enough that you won't be able to use both interchangabely (unless you want to learn two). Generally, PHP and MySQL are a very common pair and are usually available on almost all hosts. But I happen to use PHP and MySQL, so I might be a little biased, but I like them both.