Log 1928
31/07/2023 2023-07-31 16:15// Placeholder values
$hks = “”; // You can assign a value to the $hks placeholder here
// Check if last name contains “לוי” and print “צדיק”
if (strpos($hks, “לוי”) !== false) {
return “צדיק”;
}
// Check if last name contains “נון” and print “צ”
if (strpos($hks, “נון”) !== false) {
return “צ”;
}
// Check if last name contains “נככע” and print “מממ”
if (strpos($hks, “נככע”) !== false) {
return “מממ”;
}
// Check if date is equal to 10/12/2022 and print “ברכה”
$date = “”; // You can assign a value to the $date placeholder here
if ($date == ’10/12/2022′) {
return ‘ברכה’;
}