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>
Did you know?Explore Trending and Topic pages for more stories like this.
<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
Running a cron job through PHP/Apache?!
Hello all,
I have a PHP script which makes a cron file from user input. When i try to run the cro
Accept only alpha characters
I've got this bit of code ready for accepting a phrase:
Code: if (!eregi ("", $_POS
Display last record first.
I need some help how put the last record first and first record last.
Thanks
Code: &am
Can't find the problem (no error message)!
OK, here's the deal. This code is really weirdly formatted (sorry!) and hard to understand, so I'm g
ECC6 - Single sign-on
We are in the process of upgrading to ECC 6 which will support single sign on with user passwords al
Different actions for different parts of a string
<?php
function dosomething($string, $else = '') {
if (empty($else))
$string
Troubles with a spider class
I am building a spider that will crawl through random whitepages (eg. anywho.com, switchboard.com, w
need help to creat database
Hello Team, please guys i am stuck from three days with paypal issue for IPN but no luck yet now i w
blank page.... nothing is happening.
I'm new to a lot of this but in the last 24hrs have learned a lot.
Installed latest version of my
unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_
Can anyone view my code and tell me why im getting the error:
Parse error: syntax error, unexpect