You are here: Re: having problem getting php to connect « PHP Language « IT news, forums, messages
Re: having problem getting php to connect

Posted by gagal on 06/24/07 20:34

my connect page is

<?PHP
$db_server = "localhost";
$db_user = " ";
$db_pass = " ";
$db_name = "smith_website";
$db_table = "blog_category";
$db_table1 = "blog_entry";
$db_table2 = "quotes";
$db_table3 = "ab_category";
$db_table4 = "ab_person";

$connect = mysql_connect($db_server, $db_user, $db_pass) OR DIE ('I
can not connect to server because: ' . mysql_error());

mysql_select_db($db_name, $connect) OR DIE ('I can not connect to
database because: ' . mysql_error());
?>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация