How to fetch 2 times in MYSQL PDO without FETCHALL

后端 未结 0 608
深忆病人
深忆病人 2020-12-21 01:48

I have this sample query:

$STH = $DBH->query(\"SELECT id FROM table\");

I want to get the first row and then loop and display all rows.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题