User Profile

Collapse

Profile Sidebar

Collapse
WOWDesign
WOWDesign
Last Activity: Sep 17 '10, 12:45 PM
Joined: May 21 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • WOWDesign
    replied to Radio Button Single Result to Database
    in PHP
    Hi Dan

    Thanks for the reply.

    I'm learning PHP as I go and haven't been taught, all I know is from books and what I've got people to do for me, hence using the flag statement.

    When the client comes onto the page there will be one already ticked from their previous choice, ergo the flag. I've read some posts on radio buttons and a lot of people seem to think you should have one selected by default.

    ...
    See more | Go to post

    Leave a comment:


  • WOWDesign
    started a topic Radio Button Single Result to Database
    in PHP

    Radio Button Single Result to Database

    Basically I want a client to tick a radio button, which will then return the value of 1 to the database field PROMO. It's so that they can promote a course on the home page when ticked, out of all courses available.

    The code below shows the PHP gets the course category title then populates a table with the related courses, then gets the next category and so on. There is one database table for all the courses, which has a PROMO field...
    See more | Go to post
No activity results to display
Show More
Working...