I have a query in booking system

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jassi12
    New Member
    • Aug 2013
    • 2

    I have a query in booking system

    i want to booking syatem in which when i click on any seat the form will be open and when i fill the form and submit this then the clicking seat will change the color means is occupied how can i do this.
    Last edited by Dormilich; Aug 11 '13, 10:33 AM.
  • Luuk
    Recognized Expert Top Contributor
    • Mar 2012
    • 1043

    #2
    [QUOOT]i want to booking syatem [/QUOOT]

    syatem ???

    [QUOOT]in which when i click on any seat [/QUOOT]

    what is a 'seat', is it also some misspelled thing?

    [QUOOT]the form [/QUOOT]

    which form?

    [QUOOT]will be open and when i fill the form and submit this then the clicking seat will change the color means is occupied how can i do this. [/QUOOT]

    I understand you do not speak English as your native language. I am in the same situation, and find it hard to understand your question.

    Try typing your question in your own language in translate.googl e.com and pasting the English translation here will give you better English.......

    Comment

    • Dormilich
      Recognized Expert Expert
      • Aug 2008
      • 8694

      #3
      syatem
      the 'a' key is directly next to the 's' key on the keyboard
      seat
      indeed a seat (like a chair, where people sit on)
      clicking seat will change the color means is occupied how can i do this
      this depends on a lot of things. if it’s just about changing the colour, you could do this with JavaScript (PHP doesn’t receive click events), given that the 'seat' has a CSS colour to begin with (if it were an image, changing CSS colours won’t help).
      doing that doesn’t mean though that the seat is booked, for that you need a whole lotta code more (this time PHP and JavaScript).

      Comment

      • Luuk
        Recognized Expert Top Contributor
        • Mar 2012
        • 1043

        #4
        Sorry about the 'seat'. I know you can sit on one...

        But I meant to say that there's a lot of 'uncertain', 'unexplained' stuff in the original message.

        @jassi12:
        - Can you post the code which contains 'the form'?
        - Do you want occupied seats to be stored in a database?

        Comment

        Working...