i am having back to home link ,by default its status is 0 in "mail table " database .when any user click the back to home link.i want to change status =1 in user table.is there any possible to call php function in javascript.i am using javascript onclick function.but javascript is not support to access DB.i am calling php function from javascript.but its not working.i am waiting for ur response. --------------------------------- Jiyo cricket on Yahoo! India cricket Yahoo! Messenger Mobile Stay in touch with your buddies all the time.