Thread: Php, Asp enzo
View Single Post
  #6  
Old 14-03-2002, 19:23
airco's Avatar
airco airco is offline
You'll never walk alone
 
Join Date: May 2001
Location: Hoboken (Antwerpen)
Posts: 6,845
PHP Code:
<!-- hier schrijven we nog gewoon in html -->
<!-- alles wat met // ervoor staat is commentaar -->
<html>
<head>
<title>
test van PHP
</title>
</head>
<body>
<!-- vanaf hier gaan we in php-modus met de openingstag <?php -->

<?
php
// echo drukt af wat tussen de quotes staat.  Een statement sluit je af met ;
echo "hallo world";

for(
i=0,i=5,i++)
{
echo 
"lus" i;
};
?>
zo iets duidelijker wat je met php kan.

PHP Code:
<?php
phpinfo
();
?>
de functie phpinfo() is gewoon een standaardfunctie die de configuratiefile van php afprint.

airco
__________________
Reply With Quote