View Single Post
  #2  
Old 10-03-2008, 05:08 PM
Rsmiley Rsmiley is offline
Member
 
Join Date: May 2008
Posts: 90
Credits: 4,292
Rsmiley
Default RE: Quick php tutorial

that was a great tutorial XD

PHP Code:
<?php

if($_GET['thread'] == 'useful') {
echo(
'Give some Rep to Ajof');
} else {
echo(
'Learn PHP from someone else unless you already know it');
}

?>
New Version lol
PHP Code:
<?php
if($_GET['thread'] == '') {
echo(
'Rep?');
} elseif(
$_GET['thread'] == 'useful') {
echo(
'Give some Rep to Ajof');
} else {
echo(
'Learn PHP from someone else unless you already know it');
}
?>
Demo

http://imhidinglol.com/rsmiley/

Simplicity :)
Reply With Quote