hamza Posted October 7, 2009 Share Posted October 7, 2009 <h2> FAQ's </h2><br> <div id="page_contents"> <table border="0" width="100%" cellspacing="1" cellpadding="3" class="white"> <?php $sql = "SELECT * FROM ".$dbtables['tab_1']; $result = $db->query(getPagingQuery($sql,FAQ_PP)); $count = 1; while($row = $db->fetchNextObject($result)) { if ( $count%2 ) { $class = "admin_white"; } else { $class = "admin_gray"; } ?> <tr> <th width="413" class="admin_white" align="left"><strong><em><?=$row->question;?></em></strong></td> </tr> <tr> <td class="<?=$class?>" width="413" align="left"><?php echo $row->answer; ?></td> </tr> <?php $count++; } ?> <tr> <td align="center"><?php echo getPagingLink($sql,FAQ_PP, $strGet = ''); ?></td> </tr> <tr> <td colspan="4" align="center"> </td> </tr> </table> </div> <hr> <p> </p> The problem is that whn you put this code in fckeditor it will show you php code which i am not expecting please check it out what exactly is wrong in this code. ============ thanks for any help Link to comment https://forums.phpfreaks.com/topic/176839-unexpected-output/ Share on other sites More sharing options...
Mchl Posted October 7, 2009 Share Posted October 7, 2009 Probably your editor is configured to change <?php and ?> int <?php and ?> Link to comment https://forums.phpfreaks.com/topic/176839-unexpected-output/#findComment-932397 Share on other sites More sharing options...
hamza Posted October 7, 2009 Author Share Posted October 7, 2009 so how i can configure FCKeDitor.......................????? Link to comment https://forums.phpfreaks.com/topic/176839-unexpected-output/#findComment-932404 Share on other sites More sharing options...
Mchl Posted October 8, 2009 Share Posted October 8, 2009 Try here http://docs.cksource.com/ Link to comment https://forums.phpfreaks.com/topic/176839-unexpected-output/#findComment-932963 Share on other sites More sharing options...
hamza Posted October 9, 2009 Author Share Posted October 9, 2009 it contain other fck info but not mind. i am still borthering Link to comment https://forums.phpfreaks.com/topic/176839-unexpected-output/#findComment-933747 Share on other sites More sharing options...
Mchl Posted October 9, 2009 Share Posted October 9, 2009 I' ve never worked with this editor. Can't help you with that. Link to comment https://forums.phpfreaks.com/topic/176839-unexpected-output/#findComment-933939 Share on other sites More sharing options...
hamza Posted October 10, 2009 Author Share Posted October 10, 2009 it's okay. ======= can you tell me which editor you use so i can leave this editor. Link to comment https://forums.phpfreaks.com/topic/176839-unexpected-output/#findComment-934179 Share on other sites More sharing options...
Mchl Posted October 10, 2009 Share Posted October 10, 2009 I use none. I have no need to. Link to comment https://forums.phpfreaks.com/topic/176839-unexpected-output/#findComment-934188 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.