Hi
would you please help my how to know my ( mysql host server)???? i used greengeeks to upload my website , i tried "local host" but it shows "couldn't find data base"...thanks

<?php

mysql_connect("localhost","ahmedhay_ahmed","Password") or die("couldnt connect to data base");
mysql_select_db("ahmedhay_hayman") or die ("couldnt find data base");
?>

That means you do not have a database as specified on line 4, check your control panel, or with your webhost.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.