|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Article Discussion: Setup Your Personal Reminder System Using PHP
If you have any questions or comments on this article then please post them here.
This forum post relates to this article |
|
#2
|
|||
|
|||
|
cool idea ... i like it ...
i want to know how does one setup this system for multiple users ... i can do the form thing for my users and add another field to the user table for the reminder indentification but how do i send them to individual emails .. the current code sends to only one address ? |
|
#3
|
|||
|
|||
|
Interestingly, these very scripts can be modified just a little to be converted into a community feature for your website. You will just need to add another field to your Events List table which would indicate a user id corresponding to the details of the user in your original User Table. (which you say you have done) ...
Therefore now before mailing, you will need to look up the email of the user then use that as the destination address to send out Reminder Mails to. Also more the mailing code within the while loop and mail from their to the user directly ... this will allow you to send individual mails from the same script ... I have a similar system setup, you are most welcome to use it, URL (requires registration) ... |
|
#4
|
|||
|
|||
|
I saw code similar to this before and I was wondering what it meant:
else { mysql_query( "DELETE FROM reminder_events WHERE reminder_id='".addslashes($_GET['reminder_id'])."'" ); // Let's go back to the Reminder List page Header("Refresh: 1;url=reminder_list.php"); echo <<< _HTML_END_ Reminder Deleted, redirecting... _HTML_END_; } ?> What does the stuff in BOLD mean? |
|
#5
|
||||
|
||||
|
It's what you call a HERE document. It means, basically, "start here (the line after the echo statement) and just print out verbatim everything you see until you run into this text again." I'm not sure why it's in use in this case, as a simple print statement would work fine. It's often used to print out large chunks of text in which you don't want to have to escape quotes, etc.
|
|
#6
|
|||
|
|||
|
yes ofcourse you can use simply ... echo("...") i just wanted to make the code uniform ...
|
|
#7
|
||||
|
||||
|
The tutorial looks great but I had a problem when I was creating the reminder_events table.
Quote:
I ran the query from the article on the MySQL table and got an error back. Quote:
I am using phpMyAdmin. Any suggestions would be appreciated. Thanks. |
|
#8
|
|||
|
|||
|
hmm ... i wonder why I didn't look at it earlier ... try this:
PHP Code:
|
|
#9
|
|||
|
|||
|
Perfect! Thanks a lot.
|
|
#10
|
|||
|
|||
|
remembering system (multiple users..?)
Hi,
Im a newbie in Php and wish to set up a system fore several users (multiple users...??). I wish to make a place for my family to remember all bithdays and so on espesially my.... I can se that this is mainly made for 1 person.......please help! brother |
|
#11
|
|||
|
|||
|
Good article,
Thanks a lot. |
|
#12
|
|||
|
|||
|
Specific Sending Time
I see that the emails can be sent on a specific date, but is there a way to send reminders at a specific date and time via php?
Do you know of any free or cheap php scripts that will do this? Thanks. Mike |
![]() |
| Viewing: Dev Articles Community Forums > Community > Development Tutorials > Article Discussion: Setup Your Personal Reminder System Using PHP |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|