Loading ...
Sorry, an error occurred while loading the content.

Re: [phpXperts] php mysql Connectivity !

Expand Messages
  • Arafat Rahman
    Hi Palash I think you may download a php online book (White paper) just clicking on this link.
    Message 1 of 4 , Dec 3, 2005
    • 0 Attachment
      Hi Palash
      I think you may download a php online book (White
      paper) just clicking on this link.
      http://www.phptr.com/content/images/013147149X/downloads/013147149X_book.pdf

      Then go the php-mysql chapter.

      Hope you will get help.

      --- palashist <palashist@...> wrote:

      >
      > Dear all,
      >
      > i am a new user in php. i need php mysql
      > Connectivity in linux.
      > plz help me in a simple way.
      >
      >
      > palash
      >
      > palashist@...

      Arafat Rahman

      B.Ed. (Hons), M.Ed.
      Sun Certified Programmer for Java 2 platform

      Trainee Programmer
      D.Net (Development Research Network)

      URL: http://arafat.phpxperts.com
      http://www.dnet-bangladesh.org/profile/opu.html









      __________________________________
      Start your day with Yahoo! - Make it your home page!
      http://www.yahoo.com/r/hs
    • Md. Tahmidul Islam
      Mr. palashist, ...
      Message 2 of 4 , Dec 4, 2005
      • 0 Attachment
        Mr. palashist,

        you can start with:
        ----------------------------------------
        <?

        function connectMysql()
        {
        $host == "localhost"; // YOUR HOST
        $user == "yourusername"; // USER ID
        $pass == "youruserpass"; // USER PASSWORD
        $db_name == "testDB"; // DB NAME

        /* for connecting to you mysql DB using authentication */
        $dlink == mysql_connect($host, $user, $pass);

        /* for selecting Database */
        mysql_select_db($db_name, $dlink);
        }

        ....
        ....
        /* this function will help to connect to the Mysql */
        connectMysql();
        ....
        ....
        ?>
        ----------------------------------------

        OR

        See this link : http://www.phpnoise.com/tutorials/15/1



        Thanks
        Tahmid Munaz

        http://phpxperts.com






        --- In phpexperts@yahoogroups.com, "palashist" <palashist@y...> wrote:
        >
        >
        > Dear all,
        >
        > i am a new user in php. i need php mysql Connectivity in linux.
        > plz help me in a simple way.
        >
        > palash
        > palashist@y...
        >
      • lamy_ici
        heres a link for PHP-MySQL tutorial, from installation to php mysql connection script http://www.webmonkey.com/99/21/index2a.html
        Message 3 of 4 , Dec 5, 2005
        • 0 Attachment
          heres a link for PHP-MySQL tutorial, from installation to php mysql
          connection script

          http://www.webmonkey.com/99/21/index2a.html

          --- In phpexperts@yahoogroups.com, "palashist" <palashist@y...> wrote:
          >
          >
          > Dear all,
          >
          > i am a new user in php. i need php mysql Connectivity in linux.
          > plz help me in a simple way.
          >
          > palash
          > palashist@y...
          >
        Your message has been successfully submitted and would be delivered to recipients shortly.