Ezud.com Forum Home  
Ezud Home Ezud Forum  

Contact Us Members List Today's Posts
Go Back   Ezud.com - Trolling Assistance Forum > Entertainment & Lifestyle > Guides & How-Tos

Reply
 
Post New Thread Thread Tools Display Modes
  #1  
Old 07-21-2008, 10:04 AM
Zolid Zolid is offline
Ezudian
 
Join Date: Jul 2008
Posts: 61
Reputation: 13
Zolid is on a distinguished road
Default Simple PHP guide

I wrote this one an other site but it's down
Anyways here it goes
PHP Code:
<?php
$true 
10;
if (
$true == 10)
{
echo 
"You are correct";
} else {
echo 
"This answer is false";
} ***91;
COLOR="Yellow"***93;closes the echo***91;/COLOR***93;
?> ***91;COLOR="Yellow"***93;ends the php***91;/COLOR***93;
<? declares it's php code
$true = 10; makes a variable which is 10
if ($true == 10) Checks if true equals 10, the == checks that
{ opens a new statement
echo "You are correct"; prints "You are correct"
} else { closes the echo code, then checks if $true is something else than 10
echo "This answer is false"; Prints "This answer is false" if $true doesn't equal 10
} closes the echo
?> ends the PHP code

That's about it

Cya
__________________
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Affiliates: Trik.com


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.