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

thanku.

Recommended Answers

All 2 Replies

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...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.