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
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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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