Jump to content

PHP & database project


Axton

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?

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

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.