Jump to content

Trouble With A Script


dkoolgeek

Recommended Posts

Hey,

I keep getting the following error:

Parse error: parse error, unexpected $end in C:\wamp\www\eBiz 07\Header.php on line 31

With this script:


[code]<? session_start(); ?>
<style type="text/css">
a:link {
color:#0099FF}
a:visited{
color:#CC99FF}
font{
color:#FFFFFF}
p{ color:#FFFFFF}
</style>
<font color = "White"></font>
<table width="884" height="185" border="0" align = "center">
  <tr align = "center">
    <td width="445" height="74" rowspan="2"><img src="Logo.jpg" width="406" height="104"></td>
    <td height="122" colspan="3">
<?php
if(isset($_SESSION['in']))
{if($_SESSION['in'] == 1){
include("Logoutlink.php");}
else{
include("Login.php");}
?>
</td>
  </tr>
  <tr bordercolor = "white">
    <td width="57" height="21"><div align="center"><a href="index.php">Home</a></div></td>
    <td width="68"><div align="center"><a href="about.php">About</a></div></td>
    <td width="98"><div align="center"><a href="MyAccount.php">My Account</a></div></td>
  </tr>
</table>[/code]


Any help in solving this would be greatly appreciated.
Link to comment
https://forums.phpfreaks.com/topic/33911-trouble-with-a-script/
Share on other sites

[code]
<? session_start(); ?>
<style type="text/css">
a:link {
  color:#0099FF}
a:visited{
  color:#CC99FF}
font{
  color:#FFFFFF}
p{ color:#FFFFFF}
</style>
<font color = "White"></font>
<table width="884" height="185" border="0" align = "center">
  <tr align = "center">
    <td width="445" height="74" rowspan="2"><img src="Logo.jpg" width="406" height="104"></td>
    <td height="122" colspan="3">
<?php
if(isset($_SESSION['in'])){
if($_SESSION['in'] == 1) include("Logoutlink.php");
else include("Login.php");
}
?>
</td>
  </tr>
  <tr bordercolor = "white">
    <td width="57" height="21"><div align="center"><a href="index.php">Home</a></div></td>
    <td width="68"><div align="center"><a href="about.php">About</a></div></td>
    <td width="98"><div align="center"><a href="MyAccount.php">My Account</a></div></td>
  </tr>
</table>
[/code]
Link to comment
https://forums.phpfreaks.com/topic/33911-trouble-with-a-script/#findComment-159204
Share on other sites

Archived

This topic is now archived and is closed to further replies.

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