How do PHP/MySQL database queries work exactly?

前端 未结 4 1845
执笔经年
执笔经年 2021-01-06 01:31

I have used MySQL a lot, but I always wondered exactly how does it work - when I get a positive result, where is the data stored exactly? For example, I write like this:

4条回答
  •  猫巷女王i
    2021-01-06 02:13

    The first question can be answered by reading up on resources

    Since you are SELECTing "*", every column is returned for each mysql_fetch_object call. Just look at print_r($row) to see.

提交回复
热议问题