RE: [PHP] a 4 days diary
| From: | Pierre | Date: | Thu, 24 Jun 2004 19:16:39 +0000 |
| Subject: | RE: [PHP] a 4 days diary | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-188994@lists.php.net to get a copy of this message | ||
OK thx for all
But in fact I'm not really a beginner in php but this is the first time i
have to code this sort of thing so i search the best way to code it.
Mysql tables are ready so this is only how I can handle all by the simplest
way that's all
thx
Pierre
-----Message d'origine-----
De : Chris W. Parker [mailto:cparker@swatgear.com]
Envoyé : jeudi 24 juin 2004 19:33
À : Pierre; php-general
Objet : RE: [PHP] a 4 days diary
Pierre <mailto:pierre@web-lance.com>
on Thursday, June 24, 2004 11:24 AM said:
> So... all datas will be in a mysql base. Many users are gonna use this
> system (check the list of exhibitors, ask appointment by mail) and if
> the exhibitor accept the appointment I have to insert it my table.
> My problem is I don't know how to proceed to have a good code for this
> 'cause I have to post on the web site the 4 days calendar to the
> visitor after he has logged in. So I think I have to use OOP but to
> draw the calendar (is with a table a good idea).
> Sorry I have trouble to explain it in english
> If you have to handle this how do you start your code
> Is there any trap I have to escape etc...
well there's a lot of things you're going to need to do, and whether or
not you use OOP is up to you.
for your database you'll need the following:
1. a table for the events
2. a table for the participants
3. a table for the appointments. this table will link the participants
to the events.
for your code you'll need to make sure you have some sort of login
system and a way to make appointments by email. the appointment requests
can be a simple form that is sent via the mail() function
(http://php.net/mail).
i can't write your application for your so i hope this helps give you a
starting point.
chris.
p.s. when replying to list mails press the Reply To All button and not
Reply. this will ensure that your mails get sent to the list.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php