Posted by Richard Quick on 05/27/05 09:34
<jcwmtl@hotmail.com> wrote in message
news:1117165799.646274.319090@g14g2000cwa.googlegroups.com...
> Hello
> I'm a complete php noob and a non-programmer.
> I would appreciate any help.
> I have a form which takes user input. On submit, the form will run a
> php script that will create a new text file using the user input.
>
> I want this text file to popup or open in a new page. The problem is
> that when the page opens it still shows the old text file, i need to
> hit refresh for it to show the last user input.
To make the page open up a new page you need to put the following code in
the head of your HTML document (e.g. underneath the title).
<meta http-equiv="REFRESH"
content="0;url=http://www.yoursite.com/newpage.html">
To open a pop-up you'll need to use javascript.
--
Richard Quick
http://www.chocolatemagazine.co.uk
[Back to original message]
|