Page 3 of 3 FirstFirst 123
Results 21 to 24 of 24
  1. #21
    Join Date
    Mar 2008
    Posts
    5,108
    Tokens
    3,780

    Latest Awards:

    Default

    Yeah, the coding hurts my eyes

    Using just MySQL would be better.

  2. #22
    Join Date
    Feb 2008
    Location
    Plymouth
    Posts
    1,073
    Tokens
    0

    Latest Awards:

    Default

    So shall I just code it so it connects to one database only?

  3. #23
    Join Date
    Mar 2008
    Posts
    5,108
    Tokens
    3,780

    Latest Awards:

    Default

    Yeah, it should just connect to one type of database in my opinion, as your going to have a hell of a time throughout the script determining which function to use to query.

  4. #24
    Join Date
    Feb 2008
    Location
    Plymouth
    Posts
    1,073
    Tokens
    0

    Latest Awards:

    Default

    PHP Code:
        <?php
       $dbhost 
    'localhost';
       
    $dbuser 'test';
       
    $dbpass 'changeme';
       
    $conn mysql_connect($dbhost$dbuser$dbpass) or die                      ('Error     connecting to mysql');
       
       
    $dbname 'changeme';
       
    mysql_select_db($dbname);
       
    ?>
    Better?

Page 3 of 3 FirstFirst 123

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •