can javascript read and write from a MySQL database like php? I have tried looking in my books and it says that javascript is database compatable but they onyl give it in use with microsofts databases and not MySQL. Any help would be appreciated! Thanks!
You will need AJAX(javascript+XML) on the client side and PHP on the server side to communicate with MySQL database.
What? You need to use Ajax to communicate with a server-side language. Not really php. Mysql can be accessed by a lot of scripting languages.
Wrong. MySQL cannot be accessed by clientside/scripting languages. You need a server side language (ruby,php,asp) to actually do the command on the server. There is www.taffydb.com which is a JS database similar to mysql.
Not necessarily, though it is certainly the easiest and most accessible way to do it (if a user has no Javascript enabled, then all your DB work stops). http://forums.digitalpoint.com/showthread.php?t=908821 It is very similar to Ajax, but with less code, though could be very irksome for hundreds/thousands of functions.