View Full Version : [Need Help] Show Database Value in a Box

01-31-2012, 12:16 PM
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/attachment.php?attachmentid=10781&stc=1&d=1328008454

And I have to show the value of ticket_code in my page. Like this:http://www.codingforums.com/attachment.php?attachmentid=10780&stc=1&d=1328008454

Both of images are also in attachment files.


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.

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

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.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum