what is a mysql resource exactly

General discussions related to php

Moderators: egami, macek, gesf

Post Reply

New php-forum User
New php-forum User
Posts: 72
Joined: Wed Jun 12, 2013 9:30 pm

Sun Jun 23, 2013 9:08 pm

The value that mysql_query returns and stores into $result, it is a MySQL Resource.
Additional PHP functions are required to extract the data from this Resource.
The mysql_fetch_array function takes a MySQL query resource as an argument ($result) and returns the first row of data returned by the mysql_query.

Post Reply