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!

Link to comment
Share on other sites

[!--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.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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