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, youll 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
186 Like 6 Dislike
Previous forums Next forums
Other forums

How to use Ajax to verify data on a DB ?
Hello everyone, well i want to know how to check a value if it exists or not on a Data base and capt

frames get header location..
i have two frames, one top, one bottom. how do i do a form on the bottom frame that gives me the ur

Create PHP table grid help, please
I have a MySQL database setup, now it's time for the table (gridview) design in php. Here's the prob

php not working written for consumption of slots
1. Here is the function where i will be allowed to consume the slot booked by me.

2. Here i c

SQL Injection
In my attempts to protect my database from mySQL injection I have created another problem for myself

Sending CC Info by email
I am a little bit less knowledgable in the security area as most developers and I know I have a lot

Number Format
Hi All,

I have number '000000000050085' I want to format it to 500.85 Can any one give me

grouping within a foreach?
hello all,

I currently have a list of products spit out from my db via a foreach loop. Right

Greek characters in php
Hi,

I'm making a script and I m using for first time greek characters.
I started to write

PHP webpage & array print issue
I have this code running, and it works perfectly … however, see my bottom bit about what I see

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