4WebHelp
 FAQ  •  Search  •  User Groups  •  Forum Admins  •  Smilies List  •  Statistics  •  Rules   •  Login   •  Register
Toggle Navigation Menu

 Tables to Array
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic
Author Message
Kdawg
Senior WebHelper
Senior WebHelper


Joined: 21 Apr 2003
Posts: 153

PostPosted: Tue Mar 02, 2004 4:03 am (13 years, 7 months ago) Reply with QuoteBack to Top

I would like to get info from a table in a database and go through it row by row and put it in an array unless its allready in the array. The I want to display the array. Example, I want to select the field test from the database test2. Then if "A" is returned for the first row I want it to be put in the array, Then if "B" is returned for the second row I want it to be put in the array, Then if "A" is returned again I dont want it to be put in the array. Could someone please help me with this? I could easily write this in Visual Basic.NET but when I get into php I cant even get the info to display, lol. I really need to relearn the basics of getting and displaying data.
OfflineView User's ProfileFind all posts by KdawgSend Personal Message
Display posts from previous:      
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic


 Jump to:   




You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot edit your posts in this forum.
You cannot delete your posts in this forum.
You cannot vote in polls in this forum.


Page generation time: 0.05237 seconds :: 18 queries executed :: All Times are GMT
Powered by phpBB 2.0 © 2001, 2002 phpBB Group :: Based on an FI Theme