table = array('TABLE_NAME'=> 'articles', //table name 'ID'=> 'article_id', //table id field name 'FIELD'=> 'title', //which field you want to convert. 'FIELD_LINK'=> 'link' //link field name ); $title = "çğü._eğş08ÀØñ"; //$title coming from $_POST variable.. $link = $seo->insert($title); echo $link; //---->> USE THIS LINK WITH YOUR MYSQL INSERT OPERATIONS.. //forexample mysql_query("INSERT INTO articles VALUES('','','','$link')") or die(mysql_error()); //refresh page and see.. ?>