Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Inserting images or table to front page


vinaya

Recommended Posts

Please help me to insert this code instead of the default page.I am getting parse error.

 

<?php

} else {

<table border="0" cellspacing="0" cellpadding="0" class="w710" align="center">

<tr>

<?

 

$res = tep_db_query("select * from featured where status=1 order by category_id desc");

while ($red = mysql_fetch_array($res)) {

 

show_feat_category($red[category_id]);

if (++$trs % 2 == 0) {

echo "</tr><tr>";

}

else {

?>

<td width="16" valign="middle"> <img src="images/strip_repeat.gif" width="1" height="52" /> </td>

<?

}

}

}

?>

</tr>

</table>

 

?>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...