opening a window with after form submission


Posted on 16th Feb 2014 07:03 pm by admin

I know this this forum has nothing to do with JS, but i'm trying to use it with my php script.

What i'm trying to do, and i'm not 100& sure i'm doing right, is after someone has submitted the form, i want a pop window to appear with text telling them that the for was submitted and what not.

Did you know?Explore Trending and Topic pages for more stories like this.
I know that i can use

Code: open('file.php', 'window_name', 'width = 50, height = 50');
but what i'm not sure is how to use it.

i tried using this
Code: //if everyting is good, then send the email and reply email
$send = mail($to, $subject, $body, $from);
$reply = mail($to2, $subject2, $body2, $from2);

if($send){

'open("success.html", "success", "width = 261, height = 200")';

}

but when i process the form, it goes but no window opens

Like is said i hope i can get help in here in this forum
No comments posted yet

Your Answer:

Login to answer
323 Like 39 Dislike
Previous forums Next forums
Other forums

How to add advertisment on top of videos
Hello,
I was told that i should find the answer for this problem in this forums.
I searched a

WORDPRESS - Multiple Loops Only Going to One Post?
I have various pages with multiple loops and i need them to be individual to all other categories.

Problem with Sending Mail by PHP
hello all,
I m new to php, can u plz provide me the code to send mail by php having CAPTC

Exporting new records
Trying to figure out the best way to set this up.

People register my site.

Their prof

how to insert value
I am having file bookissueadd.php..... in which i am having tag

<td height="21&q

Quick Question about echo value
Hey guys, I'm trying to get something to show differently in one of my scripts. I'm trying to make

AJAX form submit
I recently built a form that submits data to my database with an ajax function that is called throug

Phase Error I can't seem to find :(`
Hey guys, I can seem to find my phase error on this. I am getting this error

[error]
Pars

Displaying a record from mysql in a simple swf file
Hi,

I have a mysql database containing information I would like to display in my swf.

SWF image using php?
Hello once again.

My latest en devour requires me to produce an image of a static .swf that i

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash