Thread: PHP programmers
View Single Post
Old 06-04-2008, 04:35 PM   #5
pretmaker pretmaker is offline
PHP Coder - Philosopher
 
pretmaker's Avatar
 
Join Date: Oct 2007
Gender :male
Location: Netherlands
Age: 21
Posts: 10,804
pretmaker is a glorious beacon of lightpretmaker is a glorious beacon of lightpretmaker is a glorious beacon of lightpretmaker is a glorious beacon of lightpretmaker is a glorious beacon of light
Send a message via MSN to pretmaker

Awards Showcase
Coder Award 
Total Awards: 1

Default Re: PHP programmers

PHP Code:
<?php
if ($_SESSION['loggedin'] != 1)
{
    
session_destroy();
    
header("Location: ./index.php?page=login"); 
}
function 
dofunction()
{
    include (
"./include/admininformation_class.php");
    @
$foxinfo = new admininfo();
    return 
$foxinfo->showunverifiedfoxinfo();
}
?>

That is the level I will expect... So if you can explain me what the lines state then you have enough knowledge...

Quote:
For example...

PHP Code:
<?php

echo "Hello world!!!.";

?>
The <?php and the ?> are the opening and closing tags of the main script. This is the place where the PHP code begins.

The next command/function is echo. Echo is a function that will display the string after the function call...
In this case the string is: Hello World!!!.

The string is defined by the qoutes around it.

The command is closed by the ; at the end of the line.

So if you can explain the first code like I explained the example then you have enough knowledge....
After you are able to explain it I have one more test for this :P

Thanks to butterfly for the sig.
  Reply With Quote