Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 10 Jun 2015, 20:40
Mickie D Mickie D is offline
 
Join Date: Jun 2002
While loop only getting one row?

Hi guys,

I can do this without vbulletin but as soon as I do this in vbulletin it only pulls one row

There is 6 rows it should pull from the database?


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Thank you all in advance

Mick
__________________
Digitalworldz Satellite Cable TV Forums
Cable, Satellite, Consoles, Mobile Phones, Audio Visual, and general chat
Reply With Quote
  #2  
Old 10 Jun 2015, 20:44
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
By using "$filerows =" in the loop, you're starting fresh with each iteration. If you're trying to build one string with all of them, you want .=
Reply With Quote
  #3  
Old 10 Jun 2015, 20:51
Mickie D Mickie D is offline
 
Join Date: Jun 2002
Originally Posted by kh99 View Post
By using "$filerows =" in the loop, you're starting fresh with each iteration. If you're trying to build one string with all of them, you want .=
Yes i had that in the first place (not sure why I removed it ), you and dave taught me that the last time i needed help!

But you also inspired me to find that since writing that code I was not writing to the database the files at the same time...

The problem I had is it was not writing the files into the database so they was not showing more than one because there was only 1 file!

Also I want to upload the files with all the data can I do that in the same loop?

Thank you KH99
__________________
Digitalworldz Satellite Cable TV Forums
Cable, Satellite, Consoles, Mobile Phones, Audio Visual, and general chat
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 15:00.

Layout Options | Width: Wide Color: