<form class="haha" id="foo1"> <!-- добавлен id формы -->
<input type="email" id="mail" name="user_email" />
</form>
<input type="text" id="name" name="user_name" form="foo1" /> <!-- внимание на атрибут form -->
select point, count(distinct guest_id) as guest_count
from sales
group by point;
uasort($dishes, function ($a, $b) {
return ( (int)$a['count'] <= (int)$b['count'] ) ? -1 : 1;
});
<?php
$arr = [
0 => '02-01',
1 => '03-15',
2 => '06-03'
];
echo json_encode($arr);
DELETE
FROM cl_purchases
WHERE id IN (
SELECT id
FROM cl_purchases
WHERE point = 600258
AND date BETWEEN '2020-03-01 00:00:00' AND '2020-03-31 23:59:59'
AND order_type = 'delivery'
AND provider <> 'iikodelivery'
GROUP BY order_id
HAVING COUNT( id ) > 1
)
DELETE [LOW_PRIORITY] [QUICK] [IGNORE] FROM tbl_name [[AS] tbl_alias]
[PARTITION (partition_name [, partition_name] ...)]
[WHERE where_condition]
[ORDER BY ...]
[LIMIT row_count]
SELECT
order_id,
MAX(order_sum) AS d_sum
FROM table
GROUP BY order_id
HAVING COUNT(id) > 1
SELECT SUM(d_sum) AS a_sum
FROM (
SELECT
order_id,
MAX(order_sum) AS d_sum
FROM table
GROUP BY order_id
HAVING COUNT(id) > 1
) AS q
<svg viewBox="0 0 340 333">
<path class="path" fill="white" stroke="black" stroke-width="4" d="M66.039,133.545c0,0-21-57,18-67s49-4,65,8s30,41,53,27s66,4,58,32s-5,44,18,57s22,46,0,45s-54-40-68-16s-40,88-83,48s11-61-11-80s-79-7-70-41C46.039,146.545,53.039,128.545,66.039,133.545z"/>
</svg>
.path {
stroke-dasharray: 1000;
stroke-dashoffset: 1000;
animation: dash 5s linear alternate infinite;
}
@keyframes dash {
from {
stroke-dashoffset: 822;
}
to {
stroke-dashoffset: 0;
}
}
([^e\s]|[^l]e|[^f]le)\s*(needle)
([^e\s]|[^l]e|[^f]le|[^f]fle|[^a]ffle|[^b]affle)\s*(needle)
([^e\s]|[^l]e|[^f]le|[^f]fle|[^a]ffle|[^b]affle)[\s\r\n]*(needle)