include('library/connexion.php') ; include('library/fonction.php') ; $SQL='SELECT `id` as id,title_'.$lng.' as title,content_'.$lng.' as content, `picture-big1` as pic1, `picture-big2` as pic2, date_event , `picture-big3` as pic3, location FROM mavil_event where id= '.$idpage; $Tnews = mysql_query($SQL, $cnx)or die(mysql_error()); if(mysql_num_rows($Tnews)>0){ $Rnews=mysql_fetch_object($Tnews); $id=$Rnews->id; $title=$Rnews->title; $content=$Rnews->content; $date=$Rnews->date_event; $location=$Rnews->location; $pic1=$Rnews->pic1; $pic2=$Rnews->pic2; $pic3=$Rnews->pic3; } mysql_free_result($Tnews); ?>