Mysql fetch array, table results

后端 未结 6 1812
名媛妹妹
名媛妹妹 2021-01-14 10:07

i\'m pretty new to this and not sure how should i do it,

I\'ve got a database with a column called \"names\"

how can i make it display in so?



        
6条回答
  •  逝去的感伤
    2021-01-14 10:34

    $result = mysql_query('SELECT * FROM member');
    
    echo ';
    
    while($row = mysql_fetch_array($result))
    {
    
        echo ''.$row['names'].'';
    }
    
    echo '';
    

提交回复
热议问题