klopt en onderaan
}
en de pagina staat nu links normaal is die in het midden.
klopt en onderaan
}
en de pagina staat nu links normaal is die in het midden.
omg... weet je wel wat PHP is?? hoe het werkt?
ja ik weet hoe t ongeveer werkt.
leg me uit wat ik verkeerd doe.
if (isset($data))
{
//hier ingame
}
else
{
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>DemonicEvil.nl</title>
<link href="css/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="header">
<div class="marquee">
<marquee>
Demonic evil is currently under progress
</marquee>
</div>
</div>
<!-- end header -->
<div id="wrapper">
<div class="leftside">
<div id="menu">
<div class="menutop">
<div class="menutoptext"><b>Navigatie</b></div>
</div>
<div class="menucenter">
<div class="menutext">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="index.html">Over demonicevil</a></li>
<li><a href="index.html">Register</a></li>
<li><a href="index.html">Downloaden</a></li>
<li><a href="index.html">Contact</a></li>
</ul>
</div>
</div>
<div class="menubottom"></div>
<div id="menu2">
<div class="menu2top">
<div class="menu2toptext"><b>Navigatie 2</b></div>
</div>
<div class="menu2center">
<div class="menutext">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="index.html">Over demonicevil</a></li>
<li><a href="index.html">Register</a></li>
<li><a href="index.html">Downloaden</a></li>
<li><a href="index.html">Contact</a></li>
</ul>
</div>
</div>
<div class="menu2bottom"></div>
</div>
</div>
<!-- end left side -->
</div>
<div id="content">
<div class="pagetop">
<div class="pagetoptext"><b>lorem ipsum</b></div>
</div>
<div class="pagecenter">
<div class="pagetext"> <strong>Lorem Ipsum</strong> is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. </div>
</div>
<div class="pagebottom"></div>
</div>
<div id="content2">
<div class="pagetop2">
<div class="pagetoptext"><b>lorem ipsum</b></div>
</div>
<div class="pagecenter2">
<div class="pagetext"> Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.
The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from "de Finibus Bonorum et Malorum" by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham. </div>
</div>
<div class="pagebottom2"></div>
</div>
<!-- end wrapper -->
</div>
</body>
</html>
}
Toon Meer
Doe dit:
<?php
if (isset($data))
{
//hier ingame
}
else
{
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>DemonicEvil.nl</title>
<link href="css/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="header">
<div class="marquee">
<marquee>
Demonic evil is currently under progress
</marquee>
</div>
</div>
<!-- end header -->
<div id="wrapper">
<div class="leftside">
<div id="menu">
<div class="menutop">
<div class="menutoptext"><b>Navigatie</b></div>
</div>
<div class="menucenter">
<div class="menutext">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="index.html">Over demonicevil</a></li>
<li><a href="index.html">Register</a></li>
<li><a href="index.html">Downloaden</a></li>
<li><a href="index.html">Contact</a></li>
</ul>
</div>
</div>
<div class="menubottom"></div>
<div id="menu2">
<div class="menu2top">
<div class="menu2toptext"><b>Navigatie 2</b></div>
</div>
<div class="menu2center">
<div class="menutext">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="index.html">Over demonicevil</a></li>
<li><a href="index.html">Register</a></li>
<li><a href="index.html">Downloaden</a></li>
<li><a href="index.html">Contact</a></li>
</ul>
</div>
</div>
<div class="menu2bottom"></div>
</div>
</div>
<!-- end left side -->
</div>
<div id="content">
<div class="pagetop">
<div class="pagetoptext"><b>lorem ipsum</b></div>
</div>
<div class="pagecenter">
<div class="pagetext"> <strong>Lorem Ipsum</strong> is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industrys standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. </div>
</div>
<div class="pagebottom"></div>
</div>
<div id="content2">
<div class="pagetop2">
<div class="pagetoptext"><b>lorem ipsum</b></div>
</div>
<div class="pagecenter2">
<div class="pagetext"> Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.
The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from "de Finibus Bonorum et Malorum" by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham. </div>
</div>
<div class="pagebottom2"></div>
</div>
<!-- end wrapper -->
</div>
</body>
</html>
<?php
}?>
Toon Meer
Robin hartelijk dank voor je hulp.
Nu is alles goed.
Zoals blijkt ben ik de php tags vergeten.
Dj-Marlon je kunt dit ook doen met
Print <<<ENDHTML
out game html
ENDHTML;
}
?>
dan hoef je niet steeds lelijk <?php ?> te openen en dichten
:$
Endhtml is zo ouderwets, echo gast, echo (php hé)
ja echo kan ook.
maar ik wil t met een index.php?do=pagina doen.
Dus dan is het makkelijk te doen met sessies.
print kan ook gebruikt worden das zo beetje het zelfde als echo alleen kom je dan weer terrecht met endhtml
Waar halen jullie die onzin vandaan?
Print <<<ENDHTML is php 3 en is dus niet meer aangerademn te gebruiken.
je hebt verder:
- echo 'tekst';
- echo "tekst";
- print 'tekst';
- print "tekst";
Alsjeblieft.
Heb je nog geen account? Registreer je nu en word deel van onze community!