/ Published in: PHP
Expand |
Embed | Plain Text
<?php $connection = mysql_connection('localhost','username','password'); // three parameters (server connection, username, password //testing connection //concatenates the mysql_error() call to the string if(!$connection){ } //checks to see if connected to proper database } ?>
You need to login to post a comment.
