hi whats wrong with this code

From: Date: Sat, 06 Oct 2001 11:09:37 +0000
Subject: hi whats wrong with this code
Groups: php.general 
Request: Send a blank email to php-general+get-70215@lists.php.net to get a copy of this message
<? $conn = db_connect(); if (empty($HTTP_POST_VARS["HelpDeskID"])) { $CurrentID=1; } else { $CurrentID=$HTTP_POST_VARS["HelpDeskID"]; } $RSHelpDesk_query=mysql_query(("select QorA, Message from CSHelpDeskEntries where " ."HelpDeskID = ".$CurrentID),$conn); $RSHelpDesk=mysql_fetch_array($RSHelpDesk_query); if($RSHelpDesk["QorA"] == 'A') { header("Location: http://www.thegardenzone.co.nz/login/wizardanswer.php?HelpDeskID=.$CurrentID", false); } $RSItems_query = mysql_query(("select Response, GoToID from CSHelpDeskEntryItems where " ."HelpDeskID = ".$CurrentID),$conn); $RSItems = mysql_fetch_array($RSItems_query); ?> i get this error message arguement supplied not a valaid resource thanks in advance from new zealand andrew

« previous php.general (#70215) next »