RobertMaltby
06-03-2005, 01:16 AM
Im getting this error:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/profoun/public_html/helpdesk/includes/functions.php on line 577
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/profoun/public_html/helpdesk/includes/functions.php on line 577
But Im not quite sure whats causing this to happen all of a sudden..
Line 572 thru 596
function fetch_row($result_set, $dorowset = false ) {
/* Kinder edits */
if( !$dorowset ) {
return mysql_fetch_array($result_set);
}
if( $dorowset ) {
/* Load into $this->rowset as an array */
while( $this->rowset[ $result_set ] = mysql_fetch_array( $result_set ) )
{
$result[] = $this->rowset[ $result_set ];
}
return $result;
}
}
Everything worked flawlessly then it gives me this error.. i have tried re-uploading the original files without my edits but that hasnt worked / helped..
Most of my functions use $result_set as a parameter / arguement..
I can upload the full Functions.php if needed ( However, it is about 2500 lines ..)
Functions.php is the only page to have $result_set in it..
http://profound-hosting.com/helpdesk/viewaccount.php
*Im aware that the buttons on the banner do not work...*
Thanks For your Help in Advance!!
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/profoun/public_html/helpdesk/includes/functions.php on line 577
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/profoun/public_html/helpdesk/includes/functions.php on line 577
But Im not quite sure whats causing this to happen all of a sudden..
Line 572 thru 596
function fetch_row($result_set, $dorowset = false ) {
/* Kinder edits */
if( !$dorowset ) {
return mysql_fetch_array($result_set);
}
if( $dorowset ) {
/* Load into $this->rowset as an array */
while( $this->rowset[ $result_set ] = mysql_fetch_array( $result_set ) )
{
$result[] = $this->rowset[ $result_set ];
}
return $result;
}
}
Everything worked flawlessly then it gives me this error.. i have tried re-uploading the original files without my edits but that hasnt worked / helped..
Most of my functions use $result_set as a parameter / arguement..
I can upload the full Functions.php if needed ( However, it is about 2500 lines ..)
Functions.php is the only page to have $result_set in it..
http://profound-hosting.com/helpdesk/viewaccount.php
*Im aware that the buttons on the banner do not work...*
Thanks For your Help in Advance!!
