Wednesday, July 15, 2009

How do you make a database-driven website?

Hello!



I have my windows-based pc, all the macromedia and adobe software, and my large web hosting package which I can access via ftp. I can get more software if needed too.



I know actionscripting, html, some javascript, and a very little bit of php. So, I know how to do a typical front-end website, but don%26#039;t know how to make it into a database driven website?



Help?



Thanks!



How do you make a database-driven website?





Here are some helpful links:



First you need to know how to write the connection strings using ADO.



http://www.carlprothman.net/Default.aspx...



Then you need to connect to your database either via ASP, which is what I prefer.



ASP Link: http://www.asp101.com



Or using PHP and the proper item for your database you can connect that way too. PHP has some good information on this.



http://www.php.net



There is a manual available at:



http://www.php.net/manual/en/



How do you make a database-driven website?



Hopefully your %26quot;large web hosting package%26quot; includes a database server. This would typically be Microsoft SQL Server or MySQL. Typically, if you%26#039;re going to use PHP, you would have a MySQL server (and ASP/ASP.Net with MS SQL), but that doesn%26#039;t have to be the case.



Here%26#039;s a link to PHP commands for use with a mySQL database:



http://us2.php.net/function.mysql-connec...



Other Replys:it seems to me like you don%26#039;t know any reason why you need to turn typical website into database driven one. when you figure out what you need to do, you%26#039;ll pretty much find how.



google for php, asp, sql, lots of good tutorials out there.



Other Replys:Since you are fresh on both PHP and MySQL, going through the online tutorials may not be sufficient, or it might even confuse you more. I would suggest that you look for a good book in developing PHP MySQL applications, read through them and practice the tutorials in the book, then search for online tuturials, practice more on the examples and you should be able to master the language much better.



At a later stage, you may want to consider browsing these php mysql forum boards, there are expert programmers with advance techniques on handling certain task with php mysql



www.phpbuilder.com



www.phpfreak.com



www.phpdeveloper.org



Hope this helps.

No comments:

Post a Comment