professional-sql-10-public-files-fetch-admin.php / php
<?php // include shared code include '../lib/common.php'; include '../lib/db.php'; // user should be logged in include '401.php'; // retrieve blog entry content\ %sBLOG_POST WHERE ' . 'POST_ID = "\ %d"', DB_TBL_PREFIX, _GET['post_id']); query, record = mysql_fetch_assoc(// output blog entry data = array( 'post_id' => record['POST_TITLE'], 'post_text' => record['POST_DATE'])); echo json_encode(result); mysql_close(
(C) Æliens 20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.