I have small project in which i am working with tables inside tabs. In the last table I am trying to call news.php file which will show all the news inside table but no results is showing here. Can anyone know where i am doing wrong? ANd how to call news.php file inside div ? Thanks. Here is my code:
<?php
// -- REGISTER ERSTELLEN -------------------------------------------------------
$page['register-fahrzeuge'] = array(
1 => array( 'Fahrzeug','aktiv',$page['script'],'',''),
0 => array( 'Edit-Fahrzeug','aktiv',$page['script'],'',''),
);
$page['register-news'] = array(
1 => array( 'News','aktiv',$page['script'],'',''),
);
// -- HTML AUSGEBEN ------------------------------------------------------------
$page['content'] .= '
<table width="538" cellspacing="0" cellpadding="0" border="0" >
<tr>
<td>
<div>'.CreateRegister($page['register-news']).'</div>
'.CreateMessage().'
<div class="cont-liste-verlauf register">
<?php
require ("news.php");
?>
</div>
</td>
</tr>
</table>';
?>