Code error with Index.php


Posted on 16th Feb 2014 07:03 pm by admin

Error: Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/runevid/public_html/index.php on line 25


<html>
<head>
<title>CrazyQuest - The online website for quests!</title>

</head>
<body>
<center>
<div id="container" >
<div id="banner" >
<a href="http://www.intensivstation.ch"><img src="Images/logo.png" alt="" width="414" height="56" border="0" /></a>
<h1>CrazyQuest</h1>

</div>


<div id="content">
<?php
if ($_SESSION['loggedin'])
{
echo 'Welcome';
echo $_SESSION['loggedin'];
}
else
{ echo '<h3>What is crazyQuest?</h3>
<p>CrazyQuest is a brand new online website that allows you to test your knowledge! These quests won't all be kitty, some of these quests may contain violence. But nothing bad! We believe that all our members should have fun! So, we make fun short and long quests for members to earn points.</p>
<h3>Beta</h3>
<p>If you signup for our beta, you'll gain an extra 100 points that you can use in our shops! So if you want some cool prizes, we suggest you register today! Also, Beta accounts will have access to a special area that no other people can get into after the open beta. Beta members will also receive a crown by their name on the highscores.</p><br /><br />
<h3>Signup</h3>
<p>You can signup here: <a href="register.php">Register</a></p>
</div>; ?>


<div id="footer"><h1>Copyright 2009 - CrazyQuest</h1></div>
</center>
</body>

No comments posted yet

Your Answer:

Login to answer
160 Like 37 Dislike
Previous forums Next forums
Other forums

Custom list order
Hi there,

I have checked this tutorial and it's great till the point where I want to display

help connecting a form to php and then emailing the form
Ok. So, I made a form, and I need help to where when submitted, I get an email with the submitted de

PHP/PKI
I am trying to set up a web application that uses pki. does anyone have a good tutorial to set this

Something Non-Traditional. Can we solve?
I have an idea for an application here. It's mostly flash, but it couldn't work without a somewhat n

Implementing Single Sign-On using SAML 1.1, x.509, LDAP in C#.net
Hi, I got a requirement from the client i.e implementing single sing on using SAML 1.1( LDAP &

Populate drop down list from table??
Lets say for arguments sake that i have a table which contains the numbers 1 to 10.
How can i get

Can I call a class inside a function?
I have a class written in another file that handles my image resizing.

Can I do this (php say

Beginner question regarding Array's
Hi everyone, the page im working on has an array of variable at the top...

Code: $define_li

Chat Box in PHP
I was thinking in doing a Chat Box in PHP. For that I would use a form with two fields, Nick and Mes

Display search result
Hi!

I have a SQL database with information about albums and track (music).

This is wh

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash