You probably want to use the explode function:
http://uk.php.net/manual/en/function.explode.php
once you have read the data from the file. I quite often use the fgets function to read text files:
http://uk.php.net/manual/en/function.fgets.php
If you read it carefully if should be quite...
You started by saying
>It would start at 10% full and slowly increase over
>a month until it is 90% full.
which I assume rates to the number of bookings? You then went on to say:
>The clculation, I assume would be based on
>
> Course_Start_Date - Date() = $var1
which is doing some date...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.