Mcmorah's Posts
Nairaland Forum › Mcmorah's Profile › Mcmorah's Posts
1 (of 1 pages)
Let me second benGallery and also say you need a good grip on the php language so as to do common task like mysql database or any other database for that matter. In anycase here is a much more simpler connection script <?php $hostname = "localhost"; $database = "yourdatabasename"; $username = "root"; $password = "yourpassword"; $conn = mysql_pconnect($hostname, $username, $password) or trigger_error(mysql_error(),E_USER_ERROR); mysql_select_db('yourdatabasename'); ?> just paste this at the start of the source code page and be sure to substistute "yourdatabasename" and "yourpassword" with their actual values |
1 (of 1 pages)