Okay,  I am new to PHP but very good with many other scripting languages.  

I use 'mysql_connect("localhost" yada yada'

to connect to a database from the domain but I want to put this code on a few sites 
and have it access one database on the primary domain.  

How do I write that command?  I googled for about an hour this morning at 3:00am so I 
might have missed it but if someone can point me to where I might find an example 
command?

Thanks

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to