Error in PHP Script
/index.php
PHP Version: 5.2.5;  Zend Engine Version: 2.2.0;  Qcodo Version: 0.3.21 (Qcodo Beta 3)
Application: Apache/2.2.3 (Linux/SUSE);  Server Name: www.dnf.no
HTTP User Agent: CCBot/1.0 (+http://www.commoncrawl.org/bot.html)
mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource
Error Type:   E_WARNING

Rendered Page:   Click here to view contents able to be rendered

Source File:   /home/sites/dnf.no/tilpasning.php     Line:   791

Line 786:    		
Line 787:    		$_REQUEST['id'] = $GLOBALS['objQuerystring']->objPathVars->arrPathVars[1];
Line 788:    		
Line 789:    		$strSQL = "SELECT * FROM markedsplasstilbud WHERE markedsplasstilbud_id=" . mysql_real_escape_string($_REQUEST['id']);
Line 790:    		$rs = mysql_query($strSQL);
Line 791:    		$a = mysql_fetch_assoc($rs);
Line 792:    		
Line 793:    		$strSQL = "SELECT * FROM markedsplasstilbudbilde WHERE markedsplasstilbud_id=" . mysql_real_escape_string($_REQUEST['id']);
Line 794:    		$rs = mysql_query($strSQL);
Line 795:    		$bilder = array();
Line 796:    		while($qd = mysql_fetch_assoc($rs)){

Call Stack:

#0 (): QcodoHandleError()
#1 /home/sites/dnf.no/tilpasning.php(791): mysql_fetch_assoc()
#2 /home/sites/dnf.no/tilpasning.php(29): tp_render_markedsplassen()
#3 /home/sites/demosite.box3.prosjektweb.net/felles/controller.php(129): hent_tilpassning()
#4 /home/sites/dnf.no/index.php(82): hent_hovedfelt()

Variable Dump:   Show/Hide



Error Report Generated:  Thursday, May 17 2012, 4:54:12 PM