CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Problem with row display

Print topic Send  topic

Author Message
Vincent
Posted: 04/21/2002, 1:07 PM

Still struggling with the following: people fill in a questionnaire on my website. All results go into a MySQL database (I use PHP w/templates), more precisely, into one table. A report is produced after a certain period of time. What I would like to get is sth like this:

Question 1:
Answer from person 1
Answer from person 2

Question 2:
Answer from person 1
Answer from person 2

.....

I managed to do that by creating a different form per question but this is not a good solution. Any idea on how to achieve this? I guess the solution is to write the right SQL statement but I have not been succesful so far... Using arrays maybe? I had a look at the quizz example but this does not help since what I have to do is show the records coming from one table.
Thanks!
Nicole
Posted: 04/22/2002, 5:02 AM

Hello,
as all information is stored in one table I think this article should help you:
http://www.gotocode.com/art.asp?art_id=103&

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.