pls, help! how can i connect to mysql 5.0 database with vb6 and how do i connect to mysql database from php5.Where do i download the necessary drivers.

Recommended Answers

All 2 Replies

pls, help! how can i connect to mysql 5.0 database with vb6 and how do i connect to mysql database from php5.Where do i download the necessary drivers.

Not sure about VB but PHP5 should be like this:

$con = mysql_connect( "HOST ADDRESS" , "USERNAME" , "PASSWORD" );
// this is to select a database after connecting.
mysql_select_db( "DB_NAME" , $con );
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.