burge124 Posted April 9, 2008 Share Posted April 9, 2008 hi, im just trying to figure out how i could complete this task... need to print out onto a page a list of questions that are stored on the database. although the amount of questions may change over time, questions title etc .... will be taken from a mysql query any suggestions on a method to print out the questions? not that keen on a table as doesnt look that great! thanks Link to comment https://forums.phpfreaks.com/topic/100241-advice-please/ Share on other sites More sharing options...
Cosizzle Posted April 9, 2008 Share Posted April 9, 2008 Hmm well I would go with using CSS. Chris from css-tricks.com posted a pretty good article about this some time ago http://css-tricks.com/css-tricks-finally-gets-a-print-stylesheet/ Start with that, make your layout test it out then start adding in your querys. One step goes to the next Link to comment https://forums.phpfreaks.com/topic/100241-advice-please/#findComment-512532 Share on other sites More sharing options...
discomatt Posted April 9, 2008 Share Posted April 9, 2008 You could also generate a pdf on the fly http://www.fpdf.org/ Link to comment https://forums.phpfreaks.com/topic/100241-advice-please/#findComment-512534 Share on other sites More sharing options...
burge124 Posted April 9, 2008 Author Share Posted April 9, 2008 thanks for your replies ive already got my CSS sorted... and not too keen on using pdf as the questions have to be radio buttons... my layout will be as an example question number ** question title "query from db"....... <> answer 1 from db <> answer 2 from db <> answer 3 from db submit/reset how can i set up the page so that each individual question is given space to be entered into the front end? Link to comment https://forums.phpfreaks.com/topic/100241-advice-please/#findComment-512538 Share on other sites More sharing options...
discomatt Posted April 9, 2008 Share Posted April 9, 2008 PDF supports radio buttons... though im not sure if that class i sent you supports them. Link to comment https://forums.phpfreaks.com/topic/100241-advice-please/#findComment-512547 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.