Ok, I'm still kind of new to this and I just have a question on how I should
go about implementing something. I need to make a calendar type thing with
different times in each day and store some values for each time in a
database. I was just wondering what would be the best way to do this. Here's
what my data type would look like in C:

struct time
    char name[50];
    int avail;
    int max;

struct day
     char date[15];
     time time_values[6];

day myDates[14];

So I would have a structure for each day and that structure would hold the
date and 6 times. Each time would have it's name, available spots and
maximum spots. What would be the best way to set this up in PHP and store it
in a mySQL database. Thanks,

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to