Jump to content

[SOLVED] TWO WEEKS AND STILL NO ANSWER ON THIS ONE!!


Recommended Posts

oops no your not.

 

Have you tried:

 

while($row = $result->fetch_Object())

{

  echo $result->column1;

  echo $result->column2;

  echo $result->column3;

  echo $result->column4;

}

 

Or if your using PDO use fetchObject();

 

??

 

Also your <br> tags should be <br />. Not that this will change the result.

 

Also switch on error reporting it makes finding problems a lot easier.

 

 

yes i did try fetch object...turns out that my code for storing the data in the first place is putting one white space in front of every row.  not sure why, but that's an easy fix.  good old trim() on the variables being sent to mysql will take care of that. thanks to all that tried to help :-)

good old trim() on the variables being sent to mysql will take care of that. thanks to all that tried to help :-)

 

:)

 

My bet is, the post data is causing the issue. Could be you need to trim it, or it is not posting when you think it is etc.

 

Should have been solved a bunch of posts ago.

 

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.