You want to fetch news or other records records in front end(user panel)
while($res=mysql_fetch_array($
qry)) {
echo ''. $res['headline'].'....
';
} ?>
/*write php code in ckeditor use below script on page where you use ckeditor after textarea control*/
*/
CKEDITOR.replace( 'editor1',
{
filebrowserUploadUrl : 'http://127.0.0.1/Hope/admin/ images/upload.php'
//filebrowserUploadUrl : 'http://127.0.0.1/Hope/ admin/images/upload.php'
});
-->while($res=mysql_fetch_array($
echo ''. $res['headline'].'....
';
} ?>
/*write php code in ckeditor use below script on page where you use ckeditor after textarea control*/
*/
CKEDITOR.replace( 'editor1',
{
filebrowserUploadUrl : 'http://127.0.0.1/Hope/admin/
//filebrowserUploadUrl : 'http://127.0.0.1/Hope/
});
//for fetching records to userpanel page use eval function with below type or example.
echo eval('?>' . utf8_encode($rst['content']) . ' //echo $rst['content'];
?>
-----------------------------
No comments:
Post a Comment