Just use the mySQL site or search for some tutorials,
for what I've seen it's quite easy!
Like:
Code:
$query = mysql_query("mysql SELECT * FROM database WHERE id='1'")
<?php
print $query
?>
On the place of * you are able to set a db table.
For example: name
If you have got a table in your database [wich is called "database" in this example] wich is called "name" it will display the "name" of the user with id "1"
It's actually very good to know mySQL for scripting with vB