OutFront Forums
     Home    Register     Search      Help      Login    

Follow Us
On Facebook
On Twitter
RSS
Via Email

Recent Posts
Todays Posts
Most Active posts
Posts since last visit
My Recent Posts
Mark posts read

Sponsors
Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.
Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.
Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

 

Displaying database entry's after using a loop

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP, PHP, and Database >> Displaying database entry's after using a loop
Page: [1]
 
kelsey720

 

Posts: 6
Joined: 7/12/2009
Status: offline

 
Displaying database entry's after using a loop - 8/1/2009 14:53:54   
Hello. I am getting entry's from a database for one person after they login. I displayed multiple entries that are specific to them using a do while loop. However, the problem I am having is after I have displayed the entries, I cannot display anymore entries later on in the page.

I'm assinging the variable from the database using:
$getTv_type = mysql_fetch_assoc($getTv_type);

The loop uses:
do {
} while ($getTv_type = mysql_fetch_assoc($getTv_type))

I want to display it later again, for example by using:
echo $getTv_type['brand_name'];

I can't get the entries to display again. Any ideas?
Thanks
Page:   [1]

All Forums >> Web Development >> ASP, PHP, and Database >> Displaying database entry's after using a loop
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts