Can any one help me connect this to the database

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

    Can any one help me connect this to the database

    <?php

    define ('DB', 'ase');
    define ('USER_DB', 'root');
    define ('PASS_DB', 'root');


    define ('DEFAUL_PAGE_TITLE', 'wapadmin.info - best top list');


    $_SESSION['wap_version'] = 0;
    $r = rand(11,9999);
    ?> IT A CONFIG FOR A TOPLIST SCRIPT I TRY TO REMOVE USER_DB AND PASS_dB AND PUT MY DATBASE USERNAME AND PASS BUT I AM NOT GETTING IT CORRECT CANSOMESHOW ME HOW TO DO IT CORRECT PLZ

    #2
    Simply Do,
    <?php

    define ('DB', 'Your Dtabase Name');
    define ('USER_DB', 'Your Dtabase Username');
    define ('PASS_DB', 'Your Dtabase Password');


    define ('DEFAUL_PAGE_TITLE', 'Your Site Title');


    $_SESSION['wap_version'] = 0;
    $r = rand(11,9999);
    ?>

    Good luck,

    Free Mobile Web Scripts by me: Free Youtube Downloader, Tweets Reader, Facebook Wall Posts Reader
    PHP Tutorials: How to Secure Your PHP Script (PHP SECURITY)
    Want to Develop/Edit your WAP/Web Site? Add me to Gtalk (gmail) 'lakshan1989' or PM me.

    Comment

    Working...
    X