Jump to content

Popup window after executing query


robert_gsfame

Recommended Posts

I really confused with this..hope that anyone could solve this problem

I wish to have an alert stated:"your query has been successfully executed" after i run this query "INSERT INTO blabla" in page1.php

 

I always have the alert box appeared after executing the query but always with blank page  n yet i have to press ok on the alert before page1.php open

Link to comment
Share on other sites

I really confused with this..hope that anyone could solve this problem

I wish to have an alert stated:"your query has been successfully executed" after i run this query "INSERT INTO blabla" in page1.php

 

I always have the alert box appeared after executing the query but always with blank page  n yet i have to press ok on the alert before page1.php open

php is server side can't control that with php effectively, well you can but u fake it using redirects. A better way would be to  look into javascript to manage something like that. Then load the php page that calls this script that creates an overlay using something like css/javascipt combo that selfsdestruct... that way the php is created and the message deletes itself.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.