PHP plz help :!

O

old.mzerok

Guest
ok i want to create a database on my barrysworld webspace
at home i use the following commands
<?
$Verbindung = mysql_connect("localhost", "***", "***");
mysql_create_db("datenbank", $Verbindung);
$SQLString = "CREATE TABLE newsdb(news_id int(10) auto_increment, NPoster TEXT, NDatum DATE, NurlName TEXT, NurlLink TEXT, NurlName2 TEXT, NurlLink2 TEXT, NTopic TEXT, NNews TEXT, NZeit TIME, NSquad TEXT, PRIMARY KEY(news_id), KEY news_id(news_id) )";
mysql_db_query("datenbank", $SQLString, $Verbindung);
?>

now i want to know what i have to put here :
$Verbindung = mysql_connect("???", "???", "???");

thx for helping me and sry for my bad english ^!°
 
T

Tempy_Incursion

Guest
The BW free hosting service does not include MySQL. If you want to use it then get a DB at www.freesql.org and use "freesql.org" as the server name. It maybe a bit slow but its better than nothing. :)

$Verbindung = mysql_connect("freesql.org", "UserName", "Kennwort");
 

Users who are viewing this thread

Top Bottom