thaiceman Posted January 24, 2009 Share Posted January 24, 2009 I'm just starting up my website, and everything seems to work fine except for my php page. When the submit button is clicked on my website, it's supposed to then go to my php page, however when it does so the php page comes up completely blank with a white background. My web host said that it's a problem with "line 11" of my coding, however I dont know how to fix this problem. Please help! I've pasted the code below. I'd appreciate any suggestions. Thanks: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <meta name="GENERATOR" content="Microsoft FrontPage 12.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <title>Thank You!</title> </head> <body> <?php > #recipient's email address $to = "icecoldlogos@graphic-designer.com"; #Subject of the message $re = "Logo Request"; #data from the logo form $msg = "Name: $name Email: $email Country: $country Phone: $phone Company: $company Company do: $companydo Ideal Logo: $ideallogo Colors: $colors Exact Text: $exact_text Width: $width Height: $height Premium/Standard: $R1 Anything Else: $anythingelse " ; #send the email now... mail ($to, $re, $msg); ?> <p align="center"> <img alt="" src="images/Smiley.jpg" height="300" width="300"></p> <p align="center"><font face="Arial" size="3">Thank you!</font></p> <p align="center"><font face="Arial" size="3">Your data has been received and is being processed.</font></p> <p align="center"><font face="Arial"><font size="3">Your 2 original logo samples will be emailed to you<br> as soon as </font>it is completed!</font></p> <p align="center"><a href="index.htm"><font face="Arial" size="2">Click here to return to the Home Page</font></a></p> <p align="center"> </p> </body> </html> Quote Link to comment https://forums.phpfreaks.com/topic/142269-my-php-page-comes-up-completely-blank-help/ Share on other sites More sharing options...
Prismatic Posted January 24, 2009 Share Posted January 24, 2009 change <?php > to <?php Quote Link to comment https://forums.phpfreaks.com/topic/142269-my-php-page-comes-up-completely-blank-help/#findComment-745328 Share on other sites More sharing options...
Maq Posted January 24, 2009 Share Posted January 24, 2009 Next time format your code and use tags. Quote Link to comment https://forums.phpfreaks.com/topic/142269-my-php-page-comes-up-completely-blank-help/#findComment-745329 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.