[insert_php]
$langue = $ _GET[Langue];
$identifiant = $_GET[ça];
$langue = substr($Langue,0,2);
$identifiant = sous-chaîne($ça,0,10);
$connect = mysql_connect(“localhost”, “elianyjma”, “72*pI 52 $”);
mysql_select_db(“elianyjma”, $relier);
$requête =”sélectionner * à partir de tblPublicationContent où idLanguage='$langue’ et idPublication='$id';”;
$result = mysql_query($requete);
$direction =”ltr”;
si($langue ==”IL”){
$direction =”rtl”;
}
$cssStyle =”aligner le texte:justifier;direction:”.$direction;
Impression “
“;
si (mysql_num_rows($résultat)) {
$qry = mysql_fetch_array($résultat);
Impression ““;
Imprimer $ qry['Titre'];
Impression “
“;
si($qry[‘imagePath’]!= null){
Impression ““;
Impression “
“;
}
Imprimer $ qry[‘content’];
}autre
{
la(‘Invalid query: ‘ . mysql_error());
}
Impression “
si (mysql_num_rows($résultat)) {
$qry = mysql_fetch_array($résultat);
Impression ““;
Imprimer $ qry['Titre'];
Impression “
“;
si($qry[‘imagePath’]!= null){
Impression ““;
Impression “
“;
}
Imprimer $ qry[‘content’];
}autre
{
la(‘Invalid query: ‘ . mysql_error());
}
Impression “
“;
mysql_close($relier);
[/insert_php]