1 reply to this topic
Posted 16 July 2006 - 08:35 PM
How do I make this file??? I do not understand. I'm using PHPMyAdmin for database management, how do I generate this file? ???
Posted 16 July 2006 - 08:43 PM
<?php # the next 4 lines you can modify $dbhost = 'yourhost'; $dbusername = 'dbusername'; $dbpasswd = 'yourpwd'; $database_name = 'nameofdatabase'; #under here, don't touch! $connection = mysql_pconnect("$dbhost","$dbusername","$dbpasswd") or die ("Couldn't connect to server."); $db = mysql_select_db("$database_name", $connection) or die("Couldn't select database."); ?>
Most of the time the the host is local host.
Hope that helps,
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users