PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Im new in this forum as well as new to PHP. I found PHP very robust. im supposed to create a page where in a user is asked different questions and then with the help od radio buttons he selects based on rating of 1 to 10. then once he submits, the average of rating 10 questions is given. can anyone help me in it. I dont know how to do that ? is ther eany avaiable code for that ?
thanx man for ur prompt reply. Actually im very new to PHP so dont know much about it. i some how managed to write the code below, got some from books, net etc. Kindly see wether im doing ok or not. The code is below. Now what i need to do is that i take the values submitted and then i just add up the values. Can u plzz tell me what to do and how do i take the values from the code and do i need to write that in the new file analysis.php. Thanx in advance
" Sorry for the long code !! im removing it "
Last edited by burnhallian on Wed Jul 13, 2005 2:24 am, edited 2 times in total.
waaaaaaaaaay too much code there for me to read that's not in php tags, the non-color hurts my eyes...please use php tags when posting code. Read here for info on posting code in the forums.
basically you'll just use what I posted above only you'll replace the result# var with your form vars:
dev, max, disad etc...
Take a look at my sig, go there and you'll find a rating system... Is that the sort of thing you were looking for? However i am using a popup for the rating system...