re
Smwap wrote:
i want to add updates.php in top of Select Categories i tried with
<?php include('updates.php'); ?>
but it showing error
$list = listFiles($listof);
//echo '<h2>'.str_replace('/',' ',$listof).'</h2>';
$category = explode('/',$listof);
echo (empty($_REQUEST['dir']) || $_REQUEST['dir']=='menu'?'
<div class="cateogry"><h2>Select Categories</h2></div><div class="catRow"><a href="/mp3">Full Mp3 Songs</a></div>':'<div class="cateogry"><h2>'.ucwords($category[count($category)-1])).' </h2></div>';
does the page updates.php have
<?php
$list = listFiles($listof);
//echo '<h2>'.str_replace('/',' ',$listof).'</h2>';
$category = explode('/',$listof);
echo (empty($_REQUEST['dir']) || $_REQUEST['dir']=='menu'?'
<div class=\"cateogry\"><h2>Select Categories</h2></div>
<div class=\"catRow\"><a href=\"/mp3\">Full Mp3 Songs</a></div>':'<div class=\"cateogry\"><h2>'.ucwords($category[count($category)-1])).' </h2></div>';
?>
also when using php html output changes ie: dont forget to use \ like this echo "";