The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

mysql connection

Discussion in 'General Discussion' started by RedFoX, Feb 14, 2004.

  1. RedFoX

    RedFoX Registered

    Joined:
    Feb 14, 2004
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Hi, sorry for my bad english, but i'm french.

    I have a little problem with the connexion to my databases in my PHP scripts.

    I've created a mysql user,...., and the connexion to mysql seems working well.
    But the problem is with the database selection. I've got an error with this code:

    PHP:
    $r  mysql_select_db('kteamorg_dbkteam',$db) or die ('false');
    kteamorg_dbkteam is the name of the mysql database (in phpmyadmin too), but the script return "false".

    Can someone help me?
    Thanks.
     
Loading...

Share This Page