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

utl_file open error
i have file in the unix path

Path /popdev01/pop/popdevb/tfi/

File name

PHP Mysql Staff Induction System
Hi there, I'm pretty new to PHP and Mysql so could really do with being pointed in the right directi

Access website from only 1 computer...?
One of my customers wants his website to only be accessed by people in which they bought the website

phpMailer not working ..........
HI,
I was playing with the phpMailer script and tried to send a smiple mail using their test scri

how make 2 column in table with data tybe long row
hi every one

I want make in my table 2 column with data tybe long raw

how thi

Object Interfaces
EDIT: Never mind, I just updated to php 5.

Hey all,

I'm currently experimenting with p

How to read CSS message data
Hi,
I have a requirement here. When working as a Dev angel for multiple customers its really di

Facebook status update API
Hello,

So, I'm trying to create my first Facebook application with PHP.

Basic ideas fo

1,000 select boxes with 100 options?!
I have 1 drop down select box with 1,000 options.


In some case, there will be 100+ of the

pass form variables straight to email, no database required?
hello all,

im working on this form...

http://www.adobedayevents.com/project_request/pr

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