JSon php and jquery

JSon php and jquery

Hi,
I have some problem with json when i try to work with json object that returned from php,
here is the jquery code:

  1. $(document).ready(function() {
  2. $.getJSON('../php/functions/all_city.php',function(data){
  3. alert(data);
  4. });
and here is the php code:

  1. <?php
  2. require_once 'connection.php';
  3. $link = conenct('localhost', 'root', '', 'w_db');

  4. mysql_query( "SET NAMES utf8" );
  5. mysql_query( "SET CHARACTER SET utf8" );
  6. mysql_set_charset('utf8', $link);

  7. $query = mysql_query("SELECT cityName FROM city ORDER BY cityName DESC");
  8. $cityArr = array();

  9. while($temp = mysql_fetch_assoc($query)){

  10. array_push($cityArr, $temp['cityName']);
  11. }

  12. echo json_encode($cityArr);
  13. ?>
the data stored in the data base is in Hebrew,
Please help me with this one, I don't know how can turn the json object (which is array in php) to an array in javascript!

thanks!!!