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.

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

Pass sql into pl/sql and create RMAN duplicate script.
Hi,

I'm new to pl/sql and I'm trying to write a script that will generate some RMAN comma

Links not updating
I'm trying to fuel a simple navigation system for a news section. It works fine when it comes to ret

C problem struct and string
Hi guys,

This is my first post and I'm hoping the experts here can help me solve my problem.<

word wrap in emails help needed
Hello, I understand how wordwrap works in php and have used it well before. However when I used wor

Limiting uploaded file type
I am working on a simple upload script, and I need it to limit the allowed file type that is uploade

PHP template help
Ok, I don't know if anyone can help me but I am using PHP templates to make a site. I am a newbie an

Upload, SSL and more php help
I recently just installed a ssl cert and do i use https for the whole site or just for the checkout.

Curl & sessions PLS HELP
Hello,

I have a problem with curl and sessions and i will try to explain the best i could.

RadioButtonList item spacing
I have a RadioButtonList and I can't put any spacing between the items. They are arranged verticall

Changing files over
Just thought I'd start with the new forums looking really nice .

Ok basically I've made this

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