Jump to content

"SELECT" issue


Recommended Posts

I don't know much of PHP, but this is what I see that could be wrong:

 

 

if (isset($result))

{

echo "good";

}

else

{

die(echo 'Invalid select query: ' . mysql_error());

}

 

----------------------------------------------------------------------

 

while ($Rowcount == mysql_fetch_assoc($result)) {

print_r(array_keys($row));

print_r($Rowcount["Danumber"]);

}

Link to comment
Share on other sites

Is your problem solved?

 

if not, then post the full PHP code here. I will try to find the error.

 

Note:

Don't publish your database table name.

 

if you are going to post code, replace the confidential data with some other name.

 

You have specified bob2 as table name. if it is real table name of your site, then you should not post those table names.

 

 

Link to comment
Share on other sites

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