A
|
all3ssaf author 4/7/2009 |
?? <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=39886&image=1&table=forumreplies' class='bbc_emoticon' alt=':(' /> |
M
|
mmponline 4/7/2009 |
Not sure if thios will help. I use it to turn dtae to red when it for example reach tody. Thus overdue. If you play around with the -1 in the if row, you should be able to set when or how to turn to red - future and past using + or - certain days. if($value)
|
A
|
all3ssaf author 4/9/2009 |
?? <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=39982&image=1&table=forumreplies' class='bbc_emoticon' alt=':(' />
|
J
|
Jane 4/9/2009 |
Hi, |
A
|
all3ssaf author 4/9/2009 |
Hi, I'm not sure that I understand your question. Do you want to filter records in the search suggest popup or filter records on the main list?
|
J
|
Jane 4/10/2009 |
Hi, |
A
|
all3ssaf author 4/10/2009 |
Hi, to filter records on the list page edit SQL query on the Edit SQL query tab. To filter records in the search suggest popup edit generated..._searchsuggest.php file manually.
|
A
|
all3ssaf author 4/13/2009 |
Good I do this on the list page if($value) { // split $value to array $arr = db2time($value); // construct time $t = mktime($arr[3],$arr[4],$arr[5],$arr[1],$arr[2],$arr[0]); // compare time with current time subtracted by 1 days if($t < time()-16060*24) $value = "<font color=red>".$value."</font>"; } Now I want to filter records on Another View page i Will edit SQL query on the Edit SQL query I want Only (red) result <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=40102&image=1&table=forumreplies' class='bbc_emoticon' alt=':unsure:' /> What is the code
|
J
|
Jane 4/14/2009 |
Hi, WHERE DateDiff(now(), FieldName)<1 |
A
|
all3ssaf author 4/15/2009 |
Hi, use MySQL functions in your SQL query: http://dev.mysql.com/doc/refman/5.0/en/dat...-functions.html Here is just a sample:
|
J
|
Jane 4/16/2009 |
Hi, |