Jump to content

Resource Id - Solved With Thanks


niche

Recommended Posts

I displayed "Resource id #76" when I echoed a variable that's supposed to equal "1". What do you think this means?

Link to comment
Share on other sites

Seems I unintentionally used a variable for two different purposes. Thanks for the reset alexnofue.

Link to comment
Share on other sites

If you're getting the result of mysql_query(), you have to extract the information using one of mysql_fetch_row(), mysql_fetch_assoc() or mysql_fetch_array(). The mysql_query() function only returns a resource.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...