 |
 |
|
| |
$cateid=$_REQUEST['catid'];
if($cateid=="web"){
$strPcategory="Web";
}elseif($cateid=="graphics"){
$strPcategory="Graphics Design";
}elseif($cateid=="packagedesign"){
$strPcategory="Package Design";
}elseif($cateid=="industrialdesign"){
$strPcategory="Industrial Design";
}elseif($cateid=="printing"){
$strPcategory="Printing";
}elseif($cateid=="marketing"){
$strPcategory="Marketing";
}elseif($cateid=="ecommerce"){
$strPcategory="E-Commerce";
}elseif($cateid=="animation"){
$strPcategory="Animation";
}elseif($cateid=="software"){
$strPcategory="Software";
}
?>
echo $strPcategory; ?> |
| |
|
| |
$categoryid=$_REQUEST['catid'];
$sql=mysql_query("SELECT header FROM $categoryid");
$count=mysql_num_rows($sql);
$cant=1;
if($count>0)
{
echo "";
while($result=mysql_fetch_array($sql))
{
echo "| ".$result['header']." | ";
if($cant %2==0)
{
echo " ";
$cant=0;
}
/*if($cant==2)
{
echo " ";
$cant=0;
}*/
$cant++;
}
}
?> | |
|
|
|
| |
| |
| |
| |
|
|
|
|
|