hi every one i need ur help i want insert time when some one choose a movie and then select time and then booking the movie.... so how can i insert time to choose the movie time will be see it?
thanx alot for helping

Re: how insert time for booking 80 80

You can simply use the date function.

An example would be date("d-m-y H:i:s"); which at the moment (GMT) it would produce: 26-03-13 12:52:08

Re: how insert time for booking 80 80

i mean when someone select a movie they want choose time and then he/she will book a movie how can i do that?

Re: how insert time for booking 80 80

Either a dropdown or a text field would do that, if you only rent a certain movie between certain times then a dropdown would probably be best to save on validation but otherwise a text field which you can then use the strtotime() function on to change it into something PHP can understand.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.