Closed Thread
Results 1 to 5 of 5

Thread: Checkbox's, Forms and MySQL

  1. #1
    Bioshox is offline Programmer
    Join Date
    Oct 2009
    Location
    Manchester, UK
    Posts
    196
    Rep Power
    10

    Checkbox's, Forms and MySQL

    Hey everyone!

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Location
    Advertising world
    Posts
    Many

     
  3. #2
    Join Date
    Sep 2007
    Location
    Karlstad, Sweden
    Posts
    3,082
    Blog Entries
    7
    Rep Power
    42

    Re: Checkbox's, Forms and MySQL

    I think something is missing here?
    __________________________________________
    I study Information Systems at Karlstad University when I'm not on CodeCall

  4. #3
    Bioshox is offline Programmer
    Join Date
    Oct 2009
    Location
    Manchester, UK
    Posts
    196
    Rep Power
    10

    Re: Checkbox's, Forms and MySQL

    Apparent Browser Fail!

    Okay,

    I'm looking at having a Guest Message that is shown to guest and is personalized via the ACP;

    Id like there to be a check box option that asks the admin if they want the guest message to be displayed or not.

    But I'm not sure how to do this, I know how to code the IF statement, but id like the values of the check box to be stored in a MySQL database, and the check box to be checked or unchecked accordingly to the users selection, iv never really used any check boxes in my forms before.

    Thank's in advance.

  5. #4
    Bioshox is offline Programmer
    Join Date
    Oct 2009
    Location
    Manchester, UK
    Posts
    196
    Rep Power
    10

    Re: Checkbox's, Forms and MySQL

    Anybody got an idea about this?!

  6. #5
    Join Date
    Apr 2009
    Location
    Trapped in my own little world.
    Posts
    2,487
    Rep Power
    33

    Re: Checkbox's, Forms and MySQL

    Well in the database, if I understand you correctly, would have a value for "showing" or not... boolean or int I guess. 1 for yes 0 for no. Just be able to change this in your current admin panel. If it's a 1 then display it :]

    Post up some code, we like to look at pretty code!

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 10-20-2010, 12:38 AM
  2. creating booking forms with PHP and MySql
    By bena in forum PHP Development
    Replies: 1
    Last Post: 04-27-2010, 09:13 AM
  3. [C#]MySQL] Host '****' is not allowed to connect to this MySQL server
    By ZaroX in forum Database & Database Programming
    Replies: 2
    Last Post: 02-16-2010, 08:34 PM
  4. Replies: 6
    Last Post: 02-03-2009, 10:39 AM
  5. MYSQL CheatSheet - A must for MySQL Users
    By reachpradeep in forum Database & Database Programming
    Replies: 1
    Last Post: 03-03-2007, 01:05 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts