Jump to content

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


medaswho

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.

 

Archived

This topic is now archived and is closed to further replies.

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