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.
                                
---------------------------------
 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:

if(isset($_GET['status']))
        {
        if(intval($_GET['status']) == 1)
        {
                // Your Query
                }
        }


Should do it =)

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to