You are here: Re: mysql / php « PHP Language « IT news, forums, messages
Re: mysql / php

Posted by Chris B on 06/06/05 15:08

> if you can cennect to mysql, mysql is probably working..
> so.. try to cennect..


That would be my method.

$db = mysql_connect("address","username","password") (address is usually
localhost)

you'll get an error if it can't connect, but you can also do this:

if (!$db) echo "couldn't connect";

 

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

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