Re: a 4 days diary
| From: | Alireza Balouch | Date: | Fri, 25 Jun 2004 08:35:52 +0000 |
| Subject: | Re: a 4 days diary | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-189039@lists.php.net to get a copy of this message | ||
since there aren't much data you can do something like this:
1 . make db table
tableName
id INT
title VARCHAR(30)
Data TEXT
timestamp VARCHAR(30)
2. just dump the data you get from the user into a db..
3. when you are ready to get the data back for view from database you can
simply use SQL
and ask for the right time and date..
SELECT * FROM myTable WHERE timestamp BETWEN xxxxx AND yyyyy
where xxxxx and yyyyyy is the timastamp value
"Pierre" <pierre@web-lance.com> wrote in message
news:20040624173847.CCAC5680043C@mwinf0503.wanadoo.fr...
> Hi all,
> I have to code a 4 days diary for a client, schedule every 30 mn and with
a
> system of rdv accepted by mail. I really don't know how to start to draw a
> cool diary and to code it correctly to be the most reusable as possible.
POO
> or not? If you have there any examples of this style of coding this is
could
> great or just maybe an idea of how I can start my code to have a good one?
> Just a good direction and way of coding to not have many surprises...
> I hope I was clear
>
> Thx all
>
> Pierre