Jump to content

Recommended Posts

Posted

Hi,

 

I am tryint to set up my TCH account to access another server remotely. I am having problems with the PHP on the other server however. The MySql functions seem to work ok on it (mysql_query, mysql_fetch_array), but when I try to run a mysql_num_rows, I receive the following error:

 

mysql_num_rows(): supplied argument is not a valid MySQL result resource

 

I am certain my code is correct: I have tested it on my TCH account. Anybody know what is wrong with the other server so I can have them correct it? They are running php 4.3.0.

 

Thanks in advance.

 

Roy

Posted

Hey,

 

I just figured out the problem. And I feel like an idiot for it.

 

I was taking such care to make sure the files ported over, namely the db access information was correctly changed, that I forgot to create the table on the other database that I have on my first.

 

:ph34r:

 

But all is good now.

 

Thanks anyway!

 

Roy

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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...