Home > Backend Development > PHP Tutorial > Problem with php fetching data from mysql

Problem with php fetching data from mysql

WBOY
Release: 2016-08-31 08:41:06
Original
1077 people have browsed it

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template