| | |
How to handle a member's site email, like email sent back and forth bwtween members?
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Thread Solved |
Re: How to handle a member's site email, like email sent back and forth bwtween members?
0
#11 Nov 2nd, 2008
If you don't want to get into the CRON stuff then I would suggest that instead of having tables for inbos and outbox, you could have two more columns in the "message" table, one called "in_inbox" and one called "in_outbox" then when a user clicks "delete" in their inbox you set "in_inbox" to 0 and then do a check to see if both "in_inbox" and "in_outbox" areboth 0. If so, delete the entry.
★ "If your not having fun, your doing something wrong." - Humbug
★ Did I help you out? Did I piss you off? Add to my reputation!
★ The Gabriel Method is a great book for losing weight and keeping healthy - I know Jon Gabriel Personally.
★ Did I help you out? Did I piss you off? Add to my reputation!
★ The Gabriel Method is a great book for losing weight and keeping healthy - I know Jon Gabriel Personally.
![]() |
Other Threads in the PHP Forum
- Previous Thread: using php to monitor and open com1 modem port
- Next Thread: Search problems
| Thread Tools | Search this Thread |
ajax apache api array beginner binary broken buttons cakephp checkbox class cms code cron curl database date display dynamic ebooks echo email error file files folder form forms function functions google href htaccess html image include insert integration ip java javascript joomla limit link list login loop mail mediawiki menu mlm msqli_multi_query multiple mysql number oop paypal pdf php phpincludeissue phpmyadmin problem query radio random recursion regex remote script search server sessions sms soap source sp space speed sql static subdomain syntax system table tag tutorial update upload url validator variable vbulletin video web webdesign websphere white wordpress xml youtube





