Jump to content

Recommended Posts

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?

Edited by Axton
Link to comment
https://forums.phpfreaks.com/topic/290300-php-database-project/
Share on other sites

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.