Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

help with linking php registration page to thankyou page

Featured Replies

heres the last few lines of my registartion submit code, but for some reason when the site is live it wont link to the thankyou page it just hangs on a white page when i press submit, the thankyou page does exist and ive double checked it all, i have included the last lines of the code to see if anybody can see if anything is wrong.

 

"Content-Disposition: attachment;\n" .

" filename=\"{$name}\"\n" .

"Content-Transfer-Encoding: base64\n\n" .

$data . "\n\n";

}

}

// here's our closing mime boundary that indicates the last of the message

$message.="--{$mime_boundary}--\n";

// now we just send the message

mail($to, $subject, $message, $headers);

 

$url = 'http://www.kidsmanagement.co.uk/register-thanks.php';

 

}

}

?>

Edited by siUK2012

Presuming that you thought:

 

$url = 'http://www.kidsmanag...er-thanks.php';

 

Would take you to the 'thank you' page..

 

You need to change

 

$url = 'http://www.kidsmanag...er-thanks.php';

 

to

 

header('location: http://www.kidsmanag...er-thanks.php';');

 

Just wanted to add that this is only going to work when you call it before any output is sent.

If you got any html tags above your php tags this is not going to work.

 

Léon

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.