0

how do i access the database?
i am using dreamweaver as my design interface. and using php for script / coding.

thanku.

3
Contributors
2
Replies
3
Views
9 Years
Discussion Span
Last Post by Shanti C
0

First you should have to know about basic my sql commands like select,update,delete...
and you have to create a table in your database according to your requirements...
and know how to connect to a data base by using php...and then write your sql queries in your php page...

these two are the line used to connect with database:

mysql_connect('localhost','username','passowrd');
mysql_select_db('daname');

mysql_query() -is used to execute sql quries in php...
mysql_fetch_array() -used to retrieve data from db...

And follow the material:
http://www.php-mysql-tutorial.com/

implement your applications in your way...
notify us if any doubts....
all the best...

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.