Home  >  Article  >  Backend Development  >  Problem with php fetching data from mysql

Problem with php fetching data from mysql

WBOY
WBOYOriginal
2016-08-31 08:41:061053browse

Can the data obtained only be output through mysql_fetch_array using a while loop? For example, the data I retrieve is order by id. I only want the last piece of data, or the first piece of data. How do I get it? Actually, what I want to know is, what format is the data taken out by php... It feels very strange

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn