mysql_free_result return error saying not valid mysql result resource

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • monomaniac21

    #1

    mysql_free_result return error saying not valid mysql result resource

    hi

    im trying to do a query which takes rows of large amounts of text data
    and displays them one after another. the size of the fields is causing
    the page to be massive in size. so to try and reduce this im trying to
    use mysql_free_resu lt to clear the contents from memory.

    however its returning an error saying not valid mysql data when im
    certain that it is.

    is this because im using a while loop like this...?

    ($row = mysql_fetch_res ult($result)) {
    mysql_free_resu lt($result);
    }

Working...