virt2/api/code/mini_page.php

8 lines
170 B
PHP
Raw Permalink Normal View History

<?php
unset( $tmp );
$tmp['id'] = ID;
$db -> get_massiv ( 'pages', $tmp, '', '1' );
$page = $db -> result;
echo $page[0]['txt'];
unset( $tmp );
?>