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
6
Other forums
utf8_general_ci error ??
I have all kinds of data to be inserted in database table
//I am getting this error
Yo
Help with Hyperlink
Hi,
What I am trying to do may be simple, I just can't get it to work. Ok...
I am usin
Mysql query, two times?
Hello to all,
I'm new to php coding and i like it alot. I need help with some noob stuff.
Am I setting up my sites oldschool?
Ok,
When I create a site I open a basic template that I have created that consists of a css f
Can php detect connection speed and thereafter swap out elements?
No code to post, lads, yet. Just looking for a yay or nay at this stage:
Can a php script be
Values disappear from my array :( HELP!
hey all, I have a lil mysql/php/apache script that queries a database
and pulls put 5 integers.
Why will this program not run if the variables are not global?
Hey guys I have a kind of perplexing situation that is probably simple, but I can't seem to understa
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
Different actions for different parts of a string
<?php
function dosomething($string, $else = '') {
if (empty($else))
$string
Email with Attachments in PHP
Hi Friends
How to send email in PHP with attachment.
I know simple mail can be sent with