قواعد البيانات

قواعد البيانات

<lezaz:sql/>
AttributeDescription        Default
--------------------------------------------
id           referance for this syntax use like lezaz#id                   Null
sql          SQL syntax                                                    null
limit        number of rows to show                                        null
style1 
multipage    for using pagination value = true                             false      
print        print result attr if value = any pass like 1,true,yes         0
counter      initial value for counter parameter                           1

inside code you can use lezaz#id[field] >> print field value
                        lezaz#id_num >> print number of rows 
                        lezaz#id_counter >> print counter for this row or last counter if use after colse sql
                        lezaz#id_multipage >> show paginition

Example
--------
<lezaz:sqlid='myid'sql="select * from table where id=lezaz$parm"limit="1"print="true"/>

<lezaz:sqlid='myid'sql="select * from table where id=lezaz$parm"limit="1">
the value of field name = lezaz#myid[name] <br>
</lezaz:sql>