DHTML Forum  

Go Back   DHTML Forum > dhtmlcentral.com > Off-topic
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #11  
Old 17.12.2003, 19:40
subhash subhash is offline
Erfahrener Benutzer
 
Join Date: 13.05.2001
Location: USA
Posts: 184
Default

I am a bit confused here..

I have a table that looks like the following:



Right now, I only have made two of them, but there will be close to 100 in the actual database. I know how to retrieve the values from the database, but I am not sure how to make it in a loop or in a certain format.

For example, what I am looking for is for it to take the info from the DB, and when someone views the page, it formats it in a certain way. For example, for the 1st one, it would be:

Charlie B. Payton
Payton Place Brokers, Inc.
P.O. Box 468301
Atlanta, GA
404-364-6428
cbp@payton-place.com

and next to it would be the information for the next realtor, and I want to make it only put two realtors in the same row, and then go to the next one, and keep going through the whole DB doing that until it gets to the end...I just dont understand how it would work. Anyone have any simple examples or links that would be useful?

I dont have PHP, and I dont really understand the code simu posted..would it be similar to do it in ASP?

Thanks for all the help.

Subhash
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12  
Old 17.12.2003, 20:26
weblogic weblogic is offline
Erfahrener Benutzer
 
Join Date: 18.04.2002
Location: USA
Posts: 907
Default

You have some serious fundamental issues.

You should hit some asp websites or pick up some books on the subject.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13  
Old 17.12.2003, 20:28
aspfreakout aspfreakout is offline
Erfahrener Benutzer
 
Join Date: 01.01.2002
Location: Belgium
Posts: 362
Default

So open the db, execute the query, then do something like:
Do While not myrecordset.EOF
Response.write(myrecordsert("Name"))
Loop


-------------------------------------------
Maybe it's just you, looking bad!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14  
Old 17.12.2003, 20:34
subhash subhash is offline
Erfahrener Benutzer
 
Join Date: 13.05.2001
Location: USA
Posts: 184
Default

thanks...

Subhash
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

All times are GMT +2. The time now is 12:51.


Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.