PHP: If Statement - Printable Version +- Support Forums (https://www.supportforums.net) +-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87) +--- Forum: Coding Support Forums (https://www.supportforums.net/forumdisplay.php?fid=18) +---- Forum: PHP The Hypertext Preprocessor (https://www.supportforums.net/forumdisplay.php?fid=21) +---- Thread: PHP: If Statement (/showthread.php?tid=23597) Pages:
1
2
|
RE: PHP: If Statement - Strafeness - 12-11-2011 Hi mate, Thanks for sharing this. Maybe you can also do some basic MYSQL things. Like: PHP Code: <?php $example = 1; ?> RE: PHP: If Statement - BreShiE - 12-16-2011 There's no point in adding in MySQL string as this is an If Statement tutorial, not "How to put MySQL into If Statement Tutorial". I may do another thread early next year on some things you can do with the if statement, but not for now. RE: PHP: If Statement - HB Virus - 12-16-2011 This is a nice post you have here, will help a lot of people. RE: PHP: If Statement - ๖ۣۜHacker™ - 12-16-2011 Very nice Breshie. I was learning HTML and XML. Might go back and just learn it again. RE: PHP: If Statement - BreShiE - 12-16-2011 HTML and XML don't really have anything to do with this tutorial, until you start going into If Statements and Forms. RE: PHP: If Statement - Strafeness - 12-16-2011 (12-16-2011, 05:12 AM)BreShiE Wrote: There's no point in adding in MySQL string as this is an If Statement tutorial, not "How to put MySQL into If Statement Tutorial". I may do another thread early next year on some things you can do with the if statement, but not for now.Well, its really useful to know mysql if you gonna code in PHP. RE: PHP: If Statement - Retribute - 06-07-2012 Just got to love ternary operators PHP Code: $name = "Jimmy"; RE: PHP: If Statement - Haxalot - 06-21-2012 Upon your tutorial, you could also have covered direct comparisons with three equal signs (compares data type as well as data value), along with comparing unequal values. You also could have mentioned the IF/ELSEIF/ELSE statement for multiple conditions; or talk about its counterpart, the switch statement. RE: PHP: If Statement - Retribute - 06-21-2012 (06-21-2012, 02:43 PM)Haxalot Wrote: Upon your tutorial, you could also have covered direct comparisons with three equal signs (compares data type as well as data value), along with comparing unequal values. You also could have mentioned the IF/ELSEIF/ELSE statement for multiple conditions; or talk about its counterpart, the switch statement. I might create my own tutorial covering all those that you've mentioned since OP is no longer here. RE: PHP: If Statement - joeywilliams - 04-16-2019 Than you for sharing this post, it is very useful. |