Jump to content

advice please!


burge124

Recommended Posts

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

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.