include "datos.php";
$id=$_REQUEST["id"];
$abs=mysql_query("select * from abogados where id = '$id' and $visible_en='si'",$conexion);
$ab=mysql_fetch_object($abs);
// ingles
$componentes = mysql_query("select * from especialidades where buffete = '$id'",$conexion);
while($componente = mysql_fetch_object($componentes)){
if($componente->nombre == 'English Language'){
$ingles = true;
}
}
?>
Documento sin título
|
|
|
|
| |
echo $ab->titular;?>
if($ingles) echo 'SPECIALITIES OF THE OFFICE'; else echo 'ESPECIALIDADES DEL BUFETE';?>
|
|
|
|
|
|
|
|
|
|
|
mysql_close(); ?>