[Solved] Delete row if key code is there for more than 15 min |
(02-05-2017, 11:57 PM)Wouter60 Wrote: Just like the first "where" clause, add two extra paramaters NULL and FALSE to it: I did not work I placed the function in the construct area so once I reload page it checks it. PHP Code: public function __construct() { What I am trying to achieve is if there is any columns in my table that still have a code present after 15 min then will remove that row. date_modified looks like 2017-02-16 13:53:18 PHP Code: public function clear_unconfirmed_post() {
There's only one rule - please don't tell anyone to go and read the manual. Sometimes the manual just SUCKS!
|
Messages In This Thread |
[Solved] Delete row if key code is there for more than 15 min - by wolfgang1983 - 02-05-2017, 12:42 AM
RE: Delete row if key code is there for more than 15 min - by casa - 02-05-2017, 03:25 AM
RE: Delete row if key code is there for more than 15 min - by Diederik - 02-05-2017, 03:29 AM
RE: Delete row if key code is there for more than 15 min - by wolfgang1983 - 02-05-2017, 10:37 PM
RE: Delete row if key code is there for more than 15 min - by Wouter60 - 02-05-2017, 11:57 PM
RE: Delete row if key code is there for more than 15 min - by wolfgang1983 - 02-06-2017, 06:01 PM
RE: Delete row if key code is there for more than 15 min - by Wouter60 - 02-06-2017, 11:04 PM
RE: Delete row if key code is there for more than 15 min - by wolfgang1983 - 02-07-2017, 01:06 AM
RE: [Solved] Delete row if key code is there for more than 15 min - by Wouter60 - 02-07-2017, 02:35 PM
|