Jump to content

Help required on php-jquery coding


Recommended Posts

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

Link to comment
https://forums.phpfreaks.com/topic/238954-help-required-on-php-jquery-coding/
Share on other sites

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>");
}

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.