mysql_db_query

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • gd

    mysql_db_query

    you can use mysql_db_query to connect diff db tables,
    ...............
    mysql_connect($ hostname, $user, $passwd);

    $result = mysql_db_query( $db1, $query1);
    $row1 = mysql_fetch_obj ect($result);


    $result = mysql_db_query( $db2, $query2);
    $row2 = mysql_fetch_obj ect($result);
    ............

  • Ian B

    #2
    Re: mysql_db_query

    Sorry, what's the question?

    Comment

    • Raqueeb Hassan

      #3
      Re: mysql_db_query

      Is it the top post of the message ....?

      Well, it won't work, cause both will fetch the results ....

      but $result = mysql_db_query( $db2, $query2); will replace the next
      $result.




      --
      Raqueeb Hassan
      Bangladesh

      Comment

      • frizzle

        #4
        Re: mysql_db_query

        Shouldn't it be $result1 and $result2 ?

        Frizzle.

        Comment

        Working...