TGWSE_GY Posted September 17, 2009 Share Posted September 17, 2009 Ok I get this error: Parse error: syntax error, unexpected T_INCLUDE in /home/.valerieheater/jcnh74/innonmainmanasquan.com/dev/index.php on line 30 when I run this file can anyone tell me why? <html> <head> <title>Inn On Main Manasquan - A Unique Jersey Shore Bed And Breakfast</title> <META NAME="description" content="Inn On Main Manasquan NJ Bed and Breakfast Romantic Getaways Spring Lake New Jersey and lodging at the NJ shore."> <META NAME="KEYWORDS" CONTENT="manasquan bed and breakfast, spring lake bed and breakfast, manasquan nj lodging, spring lake nj lodging, manasquan new jersey, spring lake new jersey, manasquan, spring lake, new jersey, NJ, bed and breakfast, lodging, new jersey lodging, NJ lodging, NJ bed and breakfast, vacation, jersey shore, jersey vacation, inn, new jersey inn, jersey shore vacation, accommodations, new jersey travel, spring lake inn, new jersey inn, NJ inn, jersey coast bed and breakfast, jersey coast, romantic vacation, romantic getaway"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link href="style.css" rel="stylesheet" type="text/css"> <style type="text/css"> <!-- .style2 { font-size: 16px; font-weight: bold; } .style3 { font-size: 14px; font-weight: bold; } .style4 {color: #003366} .style5 { color: #003399; font-weight: bold; } --> </style> </head> <body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> <?php $page = "home"; include('get.info.php'); <--------------This Line here! ?> <div class="main"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="center"> <table id="Table_01" width="762" height="551" border="0" cellpadding="0" cellspacing="0"> <tr> <td> <a href="index.php"><img src="images/Manasquan-Inn-Logo.gif" width="412" height="54" alt="home" border="0"></a></td> <td colspan="4" background="images/Jersey-Shore-Nav-Background.jpg" valign="middle"><div class="nav"><a href="location-north.php">Location</a> | <a href="accommodation.php">Rooms</a> | <a href="reservation.php">Reservations</a></div></td> </tr> <tr> <td colspan="5"> <img src="images/Jersey-Bed-Breakfast-Establ.gif" width="762" height="25" alt=""></td> </tr> <tr> <td colspan="5" width="762" height="259" valign="top" background="images/innonmain_center_bed.jpg"><div class="center"><strong>The Inn On Main</strong>: <?php echo $retured['content']; ?> <br> <span class="style5">Summer Bailout Promotion</span> - Stay Saturday & Sunday, Get 30% off Monday! <em>Subject to availability</em> <br> </div><div class="center3"><span class="style2">Inn On Main</span><br> 152 Main Street<br>Manasquan, New Jersey<br> <span class="style3">(732) 528-0099</span></div></td> </tr> <tr> <td colspan="5"> <img src="images/Jersey-Shore-Inn-Bottom-Sli.gif" width="762" height="25" alt=""></td> </tr> <tr> <td colspan="2" background="images/Bottom-Left.gif" width="762" height="187" valign="top"><div class="bottom"> <p><img src="images/fruit_plate_mixx.jpg" width="142" height="106" hspace="10" vspace="5" border="1" align="left"><strong>Mixx American Bistro </strong><br> Enjoy Mixx with its menu of eclectic dishes…or traditional American fare, made interesting. You will find yourself wanting more, frequenting it like the locals do. Chef Tricia Tracey shops local farms for ingredients, imparting that Jersey flavor to the pot. For reservations, call 732.292.9292.<br> <br> <br> <a href="restaurant.php">Click Here for More Info »</a> </p> </div></td> <td colspan="3" background="images/Bed-Breakfast-Manasquan.gif" width="289" height="187" valign="top"><div class="bottom"> <p><img src="images/Inn-On-Main-Bed.jpg" width="130" height="106" hspace="10" vspace="5" align="left" class="packpic"><strong>Our Rooms</strong><br> Spacious bed and bath areas. Plantation-style ceiling fans buzz above. Notch-up the evening from our lamp selection or the glow of the fireplace.<br> <a href="inn-packages.php">Click Here for Info »</a></p> </div></td> </tr> <tr> <td> <img src="images/spacer.gif" width="412" height="1" alt=""></td> <td> <img src="images/spacer.gif" width="61" height="1" alt=""></td> <td> <img src="images/spacer.gif" width="34" height="1" alt=""></td> <td> <img src="images/spacer.gif" width="136" height="1" alt=""></td> <td> <img src="images/spacer.gif" width="119" height="1" alt=""></td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="5"> <tr> <td align="center"><span class="style4">Inn On Main - 152 Main Street - Manasquan, NJ - (732) 528-0099 - </span><a href="mailto:info@innonmainmanasquan.com"><span class="style4">info@innonmainmanasquan.com</span></a><br> <br><a href="http://www.tripadvisor.com/"><img src="http://www.tripadvisor.com/img/triplogo162w.gif" border="0" alt="TripAdvisor.com"></a> <span class="bottom"><br> Read unbiased opinions about <a href="http://www.tripadvisor.com/">hotels</a> and <a href="http://www.tripadvisor.com/">vacations</a> at TripAdvisor.</span> <br> <img src='http://counter.dreamhost.com/cgi-bin/Count.cgi?df=jcnh74-countername.dat&pad=F&ft=0&dd=C&istrip=T'></td> </tr> </table> </td> </tr> </table> </div> </body> </html> Quote Link to comment Share on other sites More sharing options...
Bricktop Posted September 17, 2009 Share Posted September 17, 2009 Hi TGWSE_GY, There is no syntax error with your posted code. Perhaps there is an extra whitespace at the end of one of the lines of PHP code in your index.php file. Makre sure you delete any whitespaces after the ;. Hope this helps. Quote Link to comment Share on other sites More sharing options...
TGWSE_GY Posted September 17, 2009 Author Share Posted September 17, 2009 Thanks BrickTop that was it man Quote Link to comment 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.