The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Whats the best book for learning php basics
Hi peeps
Can anyone advise the bast book/ebook to get that will show me from the very beginning as to what all the variables mean and stuff like that... I have found 2 but the code is different to vb, for example: an if statment in vb is like this: Code:
<if condition....> blah blah blah </if> Code:
if ($score > 92 ) { $grade = “A”; $message = “Excellent!”; } elseif ($score <= 92 and $score > 83 ) { $grade = “B”; $message = “Good!”; } elseif ($score <= 83 and $score > 74 ) { $grade = “C”; $message = “Okay”; } elseif ($score <= 74 and $score > 62 ) { $grade = “D”; $message = “Uh oh!”; } else { $grade = “F”; $message = “Doom is upon you!”; } echo $message.”\n”; echo “Your grade is $grade\n”; So a book that will actually show/teach exactly what the php in vb is about please? |
#2
|
|||
|
|||
Those if/else statements are correct PHP code. The <if condition=""> are called template conditionals in templates. The is a section in the manual for them:
http://www.vbulletin.com/docs/html/t...e_conditionals |
#3
|
|||
|
|||
Are ok thanks Danny, just didnt want to be reading the wrong books
Thanks again |
#4
|
||||
|
||||
<a href="http://www.hudzilla.org/php/" target="_blank">http://www.hudzilla.org/php/</a>
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|