if ($currDate != $animal['day']){
$currDate = $animal['day']
echo '<li> <p class="timetable-date">'.$currDate.'<p class="timetable-doctors"><span>'.$animal['clerk_name'].'</span></p><li>'}
else {
echo '<li><p class="timetable-doctors"><span>'.$animal['clerk_name'].'</span></p><li>'
}
SELECT act.user_id, act.action_name AS last_action, act.dttm AS last_action_date
FROM actions act
LEFT JOIN actions act1
ON act1.user_id = act.user_id
AND act1.dttm > act.dttm
WHERE act1.user_id IS NULL
select fullname, from_unixtime(startdate) FROM course
declare @a bigint
select @a = 20091203
SELECT convert(datetime, convert(varchar(10), @a), 103)
SELECT fullname, convert(datetime, convert(varchar(10), startdate), 103)
FROM course
UPDATE oc_decomo_items
SET product_id = NULL,
add_to_shop = 0
FROM oc_decomo_items di
LEFT JOIN oc_product p
ON p.product_id = di.product_id
WHERE p.product_id IS NULL
На выходе будет вот так:
DON T BE AFRAID TO FAIL BE AFRAID NOT TO TRY
YOU WERE BORN BECAUSE YOU ARE GOING TO BE IMPORTANT TO SOMEONE
BECAUSE THEY LOOK
DU SSELDORF
FRANKFURT
BE ON YOUR WAY TAKE WHAT YOU NEED
Попробуйте использовать функцию unicodedata.name()