[email protected] Posted June 10, 2011 Share Posted June 10, 2011 Hi all, currently i am doing a php web project. In my project , there is section called video gallery. If anyone want to watch that video , they need to give their details like name,email,mobile no. etc... I am displaying this form using fancy box.After submission of form , i am storing the details in the database. Until here i don't have any problem but my requirement is after submission , the fancy box should automatically close and it should go back to the parent page and the corresponding video should be playing. Can anyone please me help in solving this ? Any suggestions would be appreciated. Thanks in advance Quote Link to comment https://forums.phpfreaks.com/topic/238954-help-required-on-php-jquery-coding/ Share on other sites More sharing options...
harristweed Posted June 10, 2011 Share Posted June 10, 2011 If your 'fancy box'updates your database, perhaps you need something like... if($result=mysql_query($update)){ exit("<script language=\"JavaScript\" type=\"text/javascript\"> <!-- opener.location.reload(true); self.close(); --> </script>"); } Quote Link to comment https://forums.phpfreaks.com/topic/238954-help-required-on-php-jquery-coding/#findComment-1227842 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.