You are here: Re: No database selected « PHP Programming Language « IT news, forums, messages
Re: No database selected

Posted by Shelly on 05/23/05 14:35

> "Alvaro G Vicario" <alvaro_quitar_remove@telecomputeronline.com> wrote in
> message news:19dv95vhhe2kn.14tu5sxx67cv2.dlg@40tude.net...
>> *** Shelly wrote/escribi? (Sun, 22 May 2005 22:43:11 -0400):
>>> mysql_select_db($database_ssLogin, $ssLogin);
>>
>> No error checking here?
>>
>> From manual:
>>
>> usage:
>>
>> bool mysql_select_db ( string database_name [, resource
>> link_identifier ] )
>
> This the generated code from Dreamweaver. I'll add a check.
>
> Shelly

I added:

if (!mysql_select_db($database_ssLogin, $ssLogin)) {
echo "The mysql_select_db returned FALSE";
}

and it echoed. You are correct. It is failing in mysql_select_db. No what
do I do?

Shelly

 

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

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