Location: PHPKode > scripts > LQueryBU > LQueryBU/query_units/examples/units/getCity.php
====QUERY====
SELECT SQL_CALC_FOUND_ROWS * FROM City
WHERE ID = [CITY_CODE]

====PRE_FORMAT_FIELDS====
<?php 
// Before to eval QUERY, you can check or assign here any variable

?>
====POST_FORMAT_FIELDS====
<?php
// Yo can add here any post action to be executed for all records

?>
====POST_FORMAT_FIELDS_NO_RECORDS_FOUND====
<?php 

?>
====POST_SQL_COMMANDS_OK====
PHP: <?php ?>
SQL
====POST_SQL_COMMANDS_KO====
PHP: <?php ?>
SQL:
====POST_SQL_COMMANDS_NO_RECORDS_FOUND====
PHP: <?php ?>
SQL:
Return current item: LQueryBU