Results 1 to 1 of 1
  1. #1
    redzanakub
    redzanakub is offline
    Guest
    Join Date
    2014 May
    Posts
    1
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts
    Rep Power
    0

    MySQLi new MySQL Connect for PHP5.4+

    First you configuration db.php

    PHP Code:
    <?php 
    //conection: 
    $link mysqli_connect("myhost","myuser","mypassw","mybd") or die("Error " mysqli_error($link)); 

    //consultation: 

    $query "SELECT name FROM mytable" or die("Error in the consult.." mysqli_error($link)); 

    //execute the query. 

    $result mysqli_query($link$query); 

    //display information: 

    while($row mysqli_fetch_array($result)) { 
      echo 
    $row["name"] . "<br>"

    ?>

Similar Threads

  1. [Help] Não consigo logar/I can not connect
    By Igor PB in forum Aika Bots, Hacks, Cheats
    Replies: 0
    Last Post: 2013-09-04, 04:29 PM
  2. [Help] (Dragona br) Failed to connect to login server
    By Hiago in forum Other MMO
    Replies: 0
    Last Post: 2012-10-06, 05:58 AM
  3. [Tutorial] aika on how to connect through hotspot shield U.S.
    By 92343986 in forum Aika Guides, Tutorials
    Replies: 0
    Last Post: 2012-08-17, 11:40 PM
  4. http cannot connect
    By andresbadong in forum Trash Bin
    Replies: 1
    Last Post: 2012-05-18, 05:40 AM
  5. Replies: 5
    Last Post: 2011-04-04, 01:14 AM

Posting Permissions

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