this may sound very very newbie ish... but i have to say that the comments included in the above code confused me greatly.
i like what i see but am unable to translate it in to something which i can see working.
I have tried but im not quite seeing what its getting at.
no offence intended although i can / could see where it can be found... however although before i got in this evening to see these posts i thourght i was good at php... boy do i have lots to learn... HE HE
now..
what i get is the top 3 & 1/2 lines up to the bit about 'row' which then confused me.
arrays have never been my strong point the best arrays i have worked with include the data extracted from a database. However from what i can see here i need to learn about them and will shortly find my self reading the php manual on them.
however this is not solving my problem. i think i am gonna need definatly to recieve more help from the more knowledgeable about this ticket booking system..
sarahk the 'give strategies not complete answers...' is very meaning full and i like as my main aim here is to produce a site which 'joe' public can book tickets for shows on i have another puropse to learn more about php and eventualy become as good as i can be.
However i donot want code which i do not understand so will evdevor to research all i can.. but if it would be possiable to adjust the comments on the above code i will search for a seating plan for the theatre as 'mjn' has stated this array thing may need to be more complicated depending on the seating layout and i believe him to be correct here. but i will find out.
to close i know this may sound like im asking for you and others out there to code this for me but i am not. i am asking for help... having other prople code this for me is not benificatial to me i want/need to understand this my self.
if it would be possiable to elaborate more on the comments on your code i would be amazingly greatful..
sorry to seem so new, but we are all learning all the time
Thanks muchly and all of you had a good christmas and have an even better new year... dont get too drunk...
Thanks