search

Home  >  Q&A  >  body text

I would like to ask if PHP can read the mssql record set directly and store it directly into an array? Thank you

之前是asp,现在转入php.

For example
$sql = "SELECT * FROM abcDB"; //Record 20 records
How to get a two-dimensional record set and store it in an array at one time.
Reason: Database operation, think about it after completion Disconnect. The data slowly circulates and proofreads in the array.


stock2stock22146 days ago1039

reply all(1)I'll reply

  • 不懂装懂

    不懂装懂2019-04-27 21:13:47

    If you use thinkphp, what you get directly is an array. Don't know what you used.

    reply
    0
  • Cancelreply