Announcement

Collapse
No announcement yet.

how can i call another database in vb ??

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • how can i call another database in vb ??

    i put this code in function.php and it work in vb 2.2.5 , and now it can't work in vb 2.2.6
    i don't know why . how can i call another database in vb ?


    $other_link = mysql_connect("localhost", "dbusername", "pass");
    mysql_select_db("other_database");
    $other_query = "............ ";
    $other_results = mysql_query($other_query ,$other_link);
    $others = mysql_fetch_array($other_results);
    ......
    mysql_close($other_link);
    ............

  • #2
    Since this invloves hacking the code you will need to ask over at vbulletin.org.
    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
    Change CKEditor Colors to Match Style (for 4.1.4 and above)

    Steve Machol Photography


    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


    Comment


    • #3
      please don't always ask me to go to vbulletin.org ,
      at lease you give me a link about this problem in vbulletin.rog ,
      and if the answer is simple , please answer me here , i need help . don't redirect me to another place !

      Comment


      • #4
        we can't support modifying the files.

        Comment


        • #5
          www.vbulletin.org is the official vBulletin hacking site. vBulletin does not directly support hacking the code, but has set up a board with support for various hacks, etc.

          Comment

          Loading...
          Working...
          X