...

View Full Version : hello world.



andeqoo
11-24-2010, 01:04 PM
First post :)

$n00b = 1 ;
echo "I'm a n00b, " ;
$c00L = 2 ;
echo "I'm not c00L. " ;
$judge = 3 ;
echo "Don't judge me." ;

First script :/
I wanted to do an if else...but I couldn't figure that out an hour into it. I pretty much just have a php reference book.

andeqoo
11-24-2010, 01:05 PM
but i pretty much rule.
I pretty much need to buy a book. That pretty much sucked.

mlseim
11-24-2010, 05:58 PM
Let Google be your reference book.

Put "PHP" first, then the command you are looking for,
like this: http://www.google.com/search?source=ig&hl=en&rlz=&=&q=php+else&btnG=Google+Search&aq=f&oq=

The first "hit" will most likely be from the php.net website.
That's the definitive PHP online manual. So, you click that link ... like this:
http://php.net/manual/en/control-structures.else.php

Many script examples, plus the official command definition and usage.

Use that for all of your PHP command questions.



.

Dormilich
11-25-2010, 06:56 AM
Put "PHP" first, then the command you are looking for,
like this: http://www.google.com/search?source=ig&hl=en&rlz=&=&q=php+else&btnG=Google+Search&aq=f&oq=

as a shortcut, all functions and many topics are directly available. type "http://php.net/" + function-name (e.g. php.net/array-pop or php.net/pdo or php.net/operators)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum