PDA

View Full Version : connecting mysql database with php



linux1880
04-16-2008, 10:37 AM
what is the basic i should know about php when connecting the database ? I have finished studing php but being newbie, I would like ask what should I need to know ? I saw that even application forms on html can be sent to mysql with javascript, can anybody enlight this to me on the basics , any help is appreceated. Thank you.

Nile
04-16-2008, 11:39 AM
This isn't just plane javascript, its something called ajax, I don't know if you heard of it, but a lot of people use it for dynamic things on there page. It can also send data to PHP, with that you can take the PHP variables and insert into the MySQL, to learn more about ajax, just search google for ajax, there are numerous good tutorials out there. :D

codeexploiter
04-16-2008, 12:07 PM
PHP-MySQL Interaction in a step-by-step manner

http://www.php-mysql-tutorial.com/

AJAX Tutorials

http://en.wikipedia.org/wiki/AJAX
http://developer.mozilla.org/en/docs/AJAX

Peter has posted one AJAX tutorial here (http://www.dynamicdrive.com/forums/showthread.php?t=19247)


This isn't just plane javascript, its something called ajax

AJAX is a part of JavaScript and most of the browsers currently supports that.