i put my hands up and admit i dont know the first thing about php... hence me asking you people
i am trying to convert a frameset page to a static page for the sake of SEO
however, the frameset page contained some php code:
<frameset cols="*">
<?php
if( ($prodcode=="") && ($search=="") && ($catalog=="") && ($searchstring=="") )
{
echo "<frame src='http://url/cgi-bin/live2play.storefront' marginwidth=0 marginheight=0>";
}
else
{
if($searchstring == "")
{
if($search == "")
{
if($buy=="")
{
if($catalog=="")
{
echo "<frame src='http://url/cgi-bin/live2play.storefront/EN/product/$prodcode' marginwidth=0 marginheight=0>";
}
else
{
echo "<frame src='http://url/cgi-bin/live2play.storefront/EN/catalog/$catalog' marginwidth=0 marginheight=0>";
}
}
else
{
echo "<frame src='http://url/cgi-bin/live2play.storefront/EN/addtobasket/$prodcode' marginwidth=0 marginheight=0>";
}
}
else
{
echo "<frame src='http://url/cgi-bin/live2play.storefront/EN/searchmask' marginwidth=0 marginheight=0>";
}
}
else
{
echo "<frame src='http://url/cgi-bin/live2play.storefront/EN/product/1074?searchstring=$searchstring' marginwidth=0 marginheight=0>";
}
}
?>
</frameset>
so i have built a static front page for the site, but i dont know how to make this code work - it has to be on this page (the index page)
is their a simple answer or is it even doable at all?
any help would be appreciated very much!!!!