[PHP-DB] consult different databases on different machines

2001-11-20 Thread Miguel Loureiro

Hello all,
I'm working with 2 different systems ( php/mysql in Winnt and php/mysql
in linux machine), and I would like from WinNt machine consult
information in linux machine !!!
When I make connection i got no problem(since in linux machine had
created an user to acess a database like username@% ...), but when I
made a simple select I got an error message :impossible to execute
select .
My question is , is it really impossible to do that (from winnt access
linux/mysql database )???
I think not, because if it was impossible I never access
database,wright???
Any ideas about that would help.
Thanhs for your time



--
Best Regards
Miguel Joaquim Rodrigues Loureiro




-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


[PHP-DB] Re:Am I missing something important here ?

2001-05-24 Thread Miguel Loureiro




Hello,
in my opinion, could be important make a check to database and the first 
condition should be that ( if ($mysql_result = 
mysql_query($query, $linkdb)) { ) ... its my opinion, because sometimes I 
use something like that , make certain actions depending data in database (we 
all do...) .
Good luck, good code.
CARPE DIEM.Best Regardsmailto:[EMAIL PROTECTED]