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
37
Other forums
php or sql?
Sorry not sure if this is a sql problem or php the following code is supposed to delete data from th
mysql query with single quotes in a variable
$sitedetails = "INSERT INTO vars (address, sitename, description, ownername, theme) VALUES ('$u
HTML form problem
Ive made a form to that i want to send to my email via PHP. but when it send only the name's etc sen
Include ("Absolute Path") of a file?
I'm not sure what I'm doing wrong. I am writing my php code in the same directory of the file that
Form help: Syntax & Logic
Hello again all,
I'm working on a form and ran into a wall (again) and can't seem to think th
Need help: how to catch acess of undefined class properties
Hello. I am learning OO with PHP and have hit a problem.
Some code runs as perfectly valid code,
mysql_query returning boolean instead of mysql ressource
Hi,
I seem to have a weird issue with the php command mysql_query. I pass 2 arguments the que
Query issues
I probably have this setup wrong well I know I do because nothing is showing up now. What I want is
How do I get the row number from from an sql table query
Hi all
I have a table that I query and it returns a number of rows.
mysql_num_rows($query)
Comparing two dates
Hi Guys
I have two dates I want to compare. Below is my current implementation. The problem with