Hola, he hecho el ejemplo y me aparece todas las caracteristicas del wamp. La version que estoy utilizando de php es la 5.2.5. Ahora solo me falta saber que version utiliza la pagina.
Voy a poner el codigo del index.php que supuestamente es lo que falla.
Por cierto ¿no hay alguna manera de poner codigo de forma mas legible en el foro? Esque lo he visto en algunos mensajes pero no se como se hace.
Código PHP:
<?php
include('config.php');
$title="Ireland-Pruebaphp";
?>
<? include('header.php');?>
<? include('city.php');?>
<? include('message.php');?>
<!-- <div align="center"><img src="images/mapOfIreland.jpg" width="477" height="595" border="0" usemap="#Map" /></div>-->
<br /><h1 class="city_links">Latest Adverts</h1>
<?php
$sql="SELECT * from tbl_pruebaphp where activated=1 order by pruebaphp_id DESC limit 0,16";
$res=$db->query($sql,__FILE__,__LINE__);
if(mysql_num_rows($res)>0)
{
?>
<table border="0" width="100%">
<tr>
<?php
$c=1;
while($data=mysql_fetch_object($res))
{
$pruebaphp=getMemberInfoByID($data->pruebaphp_id,$data->pruebaphp_type);
$images=getMemberImages($data->pruebaphp_id,$data->pruebaphp_type);
switch($data->pruebaphp_type)
{
case "1":
$name=$pruebaphp->agency_name;
$city=getRegion($pruebaphp->region);
break;
case "2":
$name=$pruebaphp->name;
$city=getRegion($pruebaphp->region);
break;
case "3":
$name=$pruebaphp->name;
$city=getRegion($pruebaphp->region);
break;
case "4":
$name=$pruebaphp->girl_1_name." ".$pruebaphp->girl_2_name;
$city=getRegion($pruebaphp->region);
break;
case "5":
$name=$pruebaphp->female_name." and ".$pruebaphp->male_name;
$city=getRegion($pruebaphp->region);
break;
case "6":
$name=$pruebaphp->name;
$city=getRegion($pruebaphp->region);
break;
case "7":
$name=$pruebaphp->name;
$city=getRegion($pruebaphp->region);
break;
}
if($pruebaphp->activated==1)
{
if($city=='')
{
$city='[City Not Found]';
}
?>
<td valign="top" align="center"><a href="profileDetail.php?pruebaphp_id=<?=$data->pruebaphp_id?>&pruebaphp_type=<?=$data->pruebaphp_type?>"> <img src="<?=SITE_URL.'images/pruebaphp_images/'.$images[0]?>" width="142" height="198" border="0" class="edges imask1"> </a><br />
<a href="profileDetail.php?pruebaphp_id=<?=$data->pruebaphp_id?>&pruebaphp_type=<?=$pruebaphp->e_type?>"><?=ucfirst($name).", ".$city?></a>
</td>
<?
}
else
{
continue;
}
if($c%4==0)
{
echo "</tr><tr>";
}
$c++;
}
?>
</tr>
</table>
<?
}
else
{
echo "No Advert Found";
}
?>