Mysql fetch array, table results

后端 未结 6 1808
名媛妹妹
名媛妹妹 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:27

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

提交回复
热议问题