mysql_query("UPDATE adv SET adv_text='$yindex_top_google' WHERE adv_name='index_top_google'",$db);
şeklinde dene bir de. ve hata gösterimin açık mı?