In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)05/31 Report--
Most people do not understand the knowledge points of this article "how to use mysql_fetch_row of php", so the editor summarizes the following content, detailed content, clear steps, and has a certain reference value. I hope you can get something after reading this article. Let's take a look at this "how to use mysql_fetch_row of php" article.
The php mysql_fetch_row () function is used to get a row from the result set as an array of numbers, with the syntax "mysql_fetch_row (data)". This function takes a row of data from the result set associated with the result ID data and returns it as an array, with the column of each result stored in the cell of an array.
Operating environment of this tutorial: windows7 system, PHP7.1 version, DELL G3 computer
The PHP mysql_fetch_row () function takes a row from the result set as an array of numbers.
Grammar
Mysql_fetch_row (data)
Parameter description:
Data: required parameters for the data pointer to be used, which cannot be omitted. The data pointer is the result returned from mysql_query ().
Description:
The mysql_fetch_row () function returns an array generated from the rows obtained, or false if there are no more rows.
Mysql_fetch_row () takes a row of data from the result set associated with the specified result ID and returns it as an array. The column of each result is stored in the cell of an array, with the offset starting at 0.
Calling mysql_fetch_row () in turn returns the next row in the result set, or false if there are no more rows.
Example 1.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.