Php

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Swati walia
    Senior Member
    • Sep 2016
    • 108

    Php

    What PHP commands are used to connect to the database?
  • priya.sharma
    Senior Member
    • Aug 2016
    • 105

    #2
    connection mysql_connect(server,user,p***wd,new_link,client_f lag);

    Comment

    • Guest

      #3
      With mysql it
      mysql_connect($hostname,$useranme,$p***word);
      myqsl_select_db($database name);

      and with mysqli
      mysqli_connect($hostname,$useranme,$p***word,$db);

      Comment

      Working...