Jump to content

How to specify size of error and thankyou pages with php please.


Rianna

Recommended Posts

Sure, for instance this is what is says it the php part of my form.
_____________________________________________________

$errorurl = "http://www.mywebsite/error.html" ;
$thankyouurl = "http://www.mywebsite/thankyou.html" ;

if (empty($email) || empty($fastmail)) {

header( "Location: $errorurl" );

exit ;

header( "Location: $thankyouurl" );
_____________________________________________________

What code can I add to this to make the error thank you pages open in a new browser window. And also to open in sizes I can specify? Thanks a lot!

[!--quoteo(post=383559:date=Jun 13 2006, 05:59 PM:name=1Jen)--][div class=\'quotetop\']QUOTE(1Jen @ Jun 13 2006, 05:59 PM) [snapback]383559[/snapback][/div][div class=\'quotemain\'][!--quotec--]
Thanks, you can use javascript inside your php code? Jen
[/quote]
Yes.

PHP merely echos out HTML, so anything you can use in HTML, you can use preprocess it using PHP.

Archived

This topic is now archived and is closed to further replies.

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