/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?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 } ?>
Comments
