Re: Database connection




> // What data will i find here? Is it data from the TEST or from PROD and
> will it be data from database1 or from database 2?

It will be from the most recently opened resource, but if you are ever
in any doubt then explicitly state which connection to use...

$RESULT = mssql_query($SQL,$connectprod);

---
Steve

.



Relevant Pages

  • Re: Database connection
    ... >> will it be data from database1 or from database 2? ... > It will be from the most recently opened resource, ... Prev by Date: ...
    (comp.lang.php)
  • Extrating Data from One Database from Another
    ... I am new to sql. ... let's call it database1 and database2. ... Database1 has approximatley 12000 records and database2 has approximately ... Steve, ...
    (microsoft.public.sqlserver.mseq)