| Новости | FAQ | Авторы | Документация | В действии | Библиотека |
| Инструменты | Полезные ссылки | Хостинги | Скачать | Примеры | Форум |
Nexus 13.06.2002 17:56
Нет, нетКорневой auto.p
--------------------------------------------------------------
@main[]
...
<table><tr>
<td>^leftcolumn[]</td><td>^rightcolumn[]</td>
</tr></table>
...
--------------------------------------------------------------
auto.p
--------------------------------------------------------------
@leftcolumn[]
^showcash[]
@showcash[]
$cash[^table::sql{SELECT
ROUND(a.amount*b.koef,2) as units,b.name as curr
from egold a,currency b
where a.account_id='$cookie:id' and b.id=a.currency
}]
^cash.menu{$cash.units $cash.curr}[<br />]
--------------------------------------------------------------
something.html
--------------------------------------------------------------
@rightcolumn[]
.... ^void:sql{update egold ...} ...
Updated !
--------------------------------------------------------------Получается, порядок обработки функций делает update после select.