Re: doubt regarding link
| From: | El Bekko | Date: | Sat, 25 Feb 2006 14:26:49 +0000 |
| Subject: | Re: doubt regarding link | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-231057@lists.php.net to get a copy of this message | ||
suresh kumar wrote:
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.if(isset($_GET['status'])) { if(intval($_GET['status']) == 1) { // Your Query } } Should do it =)--------------------------------- Jiyo cricket on Yahoo! India cricket Yahoo! Messenger Mobile Stay in touch with your buddies all the time. Try using the link type yourpage.php?status=1 and on your home page put this check in: