You certainly can't use pg_* functions to connect to a MySQL database. I suggest you read up on some database tutorials.
You can start with the MySQL manual:
http://www.mysql.com
And the PHP MySQL function reference:
http://www.php.net/mysql
Regards,
Rich
::::::::::::::::::::::::::::::::::::::::::
The Spicy Peanut Project
http://www.spicypeanut.net
::::::::::::::::::::::::::::::::::::::::::