Axton Posted August 6, 2014 Share Posted August 6, 2014 I'm doing a project using PHP to store reviews by people in the database. http://postimg.org/image/3l9j1uipf/ When the 'Add Reviews' is clicked, it goes here > http://postimg.org/image/q07qvnluh/ Here comes the problem, I need to add radio buttons / groups for people to select their phone rating 1-5. & in the front page (the page with add / search / list), it displays the ranking / rating of phones. Anyone have any idea how do I do the codes? Link to comment https://forums.phpfreaks.com/topic/290300-php-database-project/ Share on other sites More sharing options...
cyberRobot Posted August 6, 2014 Share Posted August 6, 2014 Could you provide a little more information on where you are stuck? In case you're just looking for a quick tutorial on working with radio buttons, the following tutorial may help: http://www.tizag.com/phpT/examples/formex.php Note that the tutorial talks about using PHP_SELF in the form's action attribute. Using PHP_SELF in this manner opens the page up to XSS attacks and should be avioded. More information can be found here: https://www.google.com/search?q=php_self%20xss Link to comment https://forums.phpfreaks.com/topic/290300-php-database-project/#findComment-1486990 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.