4 Nov
2009
4 Nov
'09
6:41 a.m.
actually this is what i got when i used UTF8_decode function of PHP CODE: <?php $conn = mysql_connect('localhost','root','healthnet') or die('Could not connect to database'); $db = mysql_select_db('koha',$conn) or die('Could not select database'); $query = mysql_query("SELECT author FROM biblio") or die('Could not execute query'); $row = mysql_fetch_array($query); echo '<pre>'.$row['author'].'</pre>'; echo '<pre>'.utf8_decode($row['author']).'</pre>'; ?> Result: "कारॠकी, यॠवराज सिंह" "�?ार्�?�?, युवरा�? सि�?ह" -- Nitesh Rijal BE IT http://niteshrijal.com.np +9779841458173