* Loads the object comment (ie fill the properties) from the database
*/
functionload_from_database(){
global$db;
$id=$db->sql_escape($this->id);
$sql="SELECT c.*, p.perso_name as author FROM ".TABLE_PROFILES_COMMENTS." c, ".TABLE_PERSOS." p WHERE c.comment_id = '$id' AND p.perso_id = c.comment_author";
if(!($result=$db->sql_query($sql)))message_die(SQL_ERROR,"Unable to query azhar_profiles_comments",'',__LINE__,__FILE__,$sql);