Loading...

Listar dados com PHP e Jquery Mobile 1

Listar dados com PHP e Jquery Mobile 1
Listar dados com PHP e Jquery Mobile 1 - Listando os dados com PHP  formatados com Jquery Mobile 
http://www.adrianosites.com.br

RRelated Posts

Create a Mobile Website with jQuery Mobile

Take the full course at: http://www.infiniteskills.com/training/introduction-to-jquery-mobile.html?affid=codify - - - As mobile traffic to your website increases, you are faced with two strategies

jQuery Mobile Lesson 1 - Setting up pages

In this series we will be introduced to jQuery Mobile, an amazing framework for skinning webpages to look like mobile applications. Don't forget to comment rate and subscribe for

CComments

  • Rafael Fernandes
    Muito bom cara. Parabéns!!!
  • Matheus Henrique
    <?PHP

     class conexao {

    private $host  = "localhost";
    private $user  = "root";
    private $pass  = "123456";
    private $banco = "Unity";

    private $conn ;


    function _contruct()
    { // faço conexao
    $this->conn = mysql_connect($this->host, $this->user, $this->pass) or die("erro ao conectar");
    mysql_select_db($this->banco, $this->conn);
    }

    function ListarDados()
    {
    $qry = mysql_query("SELECT * FROM unityTut", $this->conn);


    $result = mysql_fetch_assoc($qry);
    //listr dados

    do{

    echo $result['user'] . '<br>';

    } while ($result = mysql_fetch_assoc($qry));

    }




    ?>
  • Matheus Henrique
    cara deu erro


    Warning : mysql_query () espera o parâmetro 2 para ser recurso, null dada em D: \ xampp \ htdocs \ root \ Unidade \ User \ classes.php on-line 21 

    Warning : mysql_fetch_assoc () espera o parâmetro 1 para ser o recurso, null dada em D : \ xampp \ htdocs \ root \ Unidade \ User \ classes.php on-line 24 


    Warning : mysql_fetch_assoc () espera o parâmetro 1 para ser o recurso, null dada em D: \ xampp \ htdocs \ root \ Unidade \ User \ classes.php em linha 31