include "datos.php";
$id= 1121;
$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 'MEMBERS OF THE OFFICE'; else echo 'COMPONENTES DEL BUFETE';?> |
|
|
if($ingles) echo 'Bar Association'; else echo 'Colegio de pertenencia';?>: echo $ab->colegio; ?> if($ingles) echo 'Spoken languages'; else echo 'Idiomas hablados';?>: echo $ab->idiomas; ?> |
|
|
|
|
|
|
|
mysql_close(); ?>