Reply to Re: Two mysql connections

Your name:

Reply:


Posted by elyob on 06/14/06 02:20

"Gordon Burditt" <gordonb.8tdzy@burditt.org> wrote in message
news:128unv4mi466v94@corp.supernews.com...

> Hopefully it assigns to something different from $link (like $link2).

Thanks, I've decided to use more clear names :)

>
>>How should I differentiate between the two files when doing calling the
>>database? i.e. should I call SELECT * FROM file1.tablename etc?
>
> $resultset = mysql_query("SELECT * FROM tablename", $link2);

Absolutely spot on. Not something I've needed to have do before now, as all
my databases have been stored in the same place. Now I am needing to keep a
central database for different projects ...

!! Your advice has been very useful! !!

> Those optional link_identifier arguments aren't optional in your
> situation.

:)

Thanks again ....

Nick

[Back to original 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

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