Jump to content

page just not showing properly


illuz1on

Recommended Posts

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/capetown/public_html/pza/db.php on line 47

You must be logged in, in order to purchase anything from the shop

 

         

  Name  Price  Available ?  Delivery Time 

 

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/capetown/public_html/pza/db.php on line 35

 

Can anyone tell me what this error could be from?

Link to comment
Share on other sites

Thanks for fast reply :)

 

this is line 35

 

function SQLGetRow($res)

{

    $row = mysql_fetch_row($res);

return $row;

}

 

 

and then this is line 47

 

 

function SQLNumRows($res)

{       

$rows = mysql_num_rows($res);

    return $rows;

}

Link to comment
Share on other sites

This is one place that it is being called, there are many of them..

 

 

<font class="header">Party-zA Clubs</font><br>
	<br>
		<?php
			$result = SQLQuery('SELECT ID,Name from '.SQLTable('partyza_club'));
			$c = 1;
			while (list($clubid,$clubname) = SQLGetRow($result))
			{
		?>
			<?php echo $c ?>. <a href="clubs.php?view=<?php echo $clubid; ?>&name=<?php echo $clubname; ?>"><?php echo $clubname; ?><br></a>
		<?php
				$c++;
			}
		?>

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.