Hi! i've a table with this field: id, note, date_exp, personal(chkbox) and user In list page i want to do a filter that works in this way:
if user is blank or filled all user can see and edit record, if user is filled and personal is flagged only the user that insert the record can see and edit hir record. It's possible?
I've put this in list page: before sql query and do a code in add and edit page to change the user field with name or null when is flagged or not $UTENTE = $_SESSION["UserID"];
$strWhereClause = "tabella_scadenze.utente='".$UTENTE."' OR tabella_scadenze.utente IS NULL";