View Single Post
  #1 (permalink)  
Old May 18th, 2007, 06:03 AM
nodster nodster is offline
Registered User
Join Date: May 2007
Location: , , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default If Else linking to HTML page

Hi there,

Using the following code:
if $mailsent($to, $subject, $message, $headers) {
//success page;


//error page;
How do i link to an HTML page using PHP. I have tried using Header ("Location: http//url") but it isn't working

However if i replace the URL link with a simple echo "success" it displays correctly.

Can anyone point me in the correct direction.
Many thanks.
Reply With Quote