Skip to main content
November 12, 2008
Question

problem with mysql

  • November 12, 2008
  • 1 reply
  • 271 views
When I preview my page I receive this massage:
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource

My web page: www.justiciadedios.com/newSite/index.php

how can I fix it
This topic has been closed for replies.

1 reply

Inspiring
November 12, 2008
jesurum wrote:
> When I preview my page I receive this massage:
> Warning: mysql_free_result(): supplied argument is not a valid MySQL result
> resource
>
> My web page: www.justiciadedios.com/newSite/index.php

PHP is a server-side language, and all the PHP remains on the server. So
providing a URL to a live web page shows nothing of your PHP code.

I suspect that you had a recordset on the page, but deleted it manually,
rather than through the Server Behaviors panel. As a result, the
mysql_free_result() code was left at the bottom of the page (below the
closing html tag), generating the error.

--
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/