Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
  1. #1
    New to the CF scene
    Join Date
    Jan 2012
    Thanked 0 Times in 0 Posts

    Question [Need Help] Show Database Value in a Box

    Hello, PHP master.
    I'm newbie in PHP.
    And I have a question about PHp coding.

    I have table in my database. Like this : http://www.codingforums.com/attachme...1&d=1328008454

    And I have to show the value of ticket_code in my page. Like this:http://www.codingforums.com/attachme...1&d=1328008454

    Both of images are also in attachment files.

    1. The value of ticket_code can be changed. So, if the value of ticket_code increase for each ticket_type, the number of box for ticket_code also will increase. If value of ticket_code decrease, the number of box for ticket_code also will decrease.

    1. Each ticket_code contains of a direct link to the form that show information about the ticket_code, such us ticket_price etc.

    1. There is a limit for each row, example the limit is 5 or 10 or etc.
      Just like in the picture.
      For example: there are 10 ticket_code for VIP : V-01 up to V-10. Then I need to make a limit for each row is 5. So, the ticket_code for each ticket_type in the page will be shown as:

      V-01 V-02 V-03 V-04 V-05

      V-06 V-07 V-08 V-09 V-10
    I need help to create the PHP code for this case.
    Does anybody have any idea about it? Please help me.
    First of all, thanks for your attantion.
    Attached Thumbnails Attached Thumbnails [Need Help] Show Database Value in a Box-book.jpg   [Need Help] Show Database Value in a Box-dbase.jpg  


Tags for this Thread

Posting Permissions

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