| |||||||||
![]() | | ||||||||
| |||||||||||||||
| |||||||||||||||
| Off Topic - Humor/Jokes Hang Out, Humor, Jokes and Off Topic posts |
Download:
![]() |
| | LinkBack | Thread Tools | Rate Thread | Display Modes |
| | #1 (permalink) | ||||||||
| Senior Member ![]() Archibald J. Cox has no status.
Location: Where the hell is Tiverton, Ontario (CANADA)?!?! Rep Power: 6 ![]() | PHP in posts? And I thought I could actually include PHP in my post PHP Code: | ||||||||
| | |
| | #3 (permalink) | ||||||||
| Moderator ![]() John_In_Dakota is in need of a long nap.
Location: 1069.7 miles from Tiverton, Ontario (CANADA) Rep Power: 12 ![]() | [quote]]<?php BEGIN__VBULLETIN__CODE__SNIPPET //Why?! $counter = 50; for ($i = 1 ; $i < $counter ; $i++) { print_r($i); echo "<br />"; } [/QUOTE <?well I_have$_no_Idea//?!WhAt_((Your)))_..Talking__)%About ($$%Arch))// | ||||||||
| | |
| | #4 (permalink) | ||||||||
| Senior Member ![]() Archibald J. Cox has no status.
Location: Where the hell is Tiverton, Ontario (CANADA)?!?! Rep Power: 6 ![]() | It's a "for loop". First I initialized the $counter variable to be 50. Then I said for ($i starts as being 1 ; As long as $i is less than the $counter (50) ; Increment $i by one each loop iteration) Then for every time through, it will print out $i (print_r($i)) and echo a line break ("<br />"). Up to but not including 50. so the output would be: Code: 1 2 3 4 5 6 7 8 9 ... 47 48 49 | ||||||||
| | |
| | #5 (permalink) | ||||||||
| Admin ![]() rixride is replying to forum games...
Location: Dallas, Texas Rep Power: 5 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | ahh PHP 101, this is the class I need. Maybe I could fix the smilie issue. __________________ -=Welcome to PBXInfo=- -Become a PBXInfo Supporter -Get more PM Space, Profile Picture, a Signature -Add yourself to Pbxinfo's Frappr -Find Nortel Software | ||||||||
| | |
| | #6 (permalink) | ||||||||
| Senior Member ![]() Archibald J. Cox has no status.
Location: Where the hell is Tiverton, Ontario (CANADA)?!?! Rep Power: 6 ![]() | I think that's got to be some javascript or vbscript somewhere. Whatever is opening the popup window is telling it not to have scrollbars ("scrollbars=no") and telling it to be a rather small size. | ||||||||
| | |
| | #7 (permalink) | ||||||||
| Moderator ![]() papa-bear is suffering from a pad thai lunch
Location: @home Rep Power: 8 ![]() | I find this page a great resource: http://www.w3schools.com/ For PHP stuff, look here: http://www.w3schools.com/php/default.asp | ||||||||
| | |
| | #8 (permalink) | ||||||||
| Senior Member ![]() slagburn has no status.
Location: 3498.51 miles from Tiverton, Ontario (CANADA) Rep Power: 16 ![]() | I think I fixed it... try this. ]<?php BEGIN__VBULLETIN__CODE__SNIPPET //Why?! $counter = 50; for ($i = 1 ; $i < $counter ; $i++) { print_r($i); echo "<br />"; YOU SUCK } [/QUOTE | ||||||||
| | |
| | #9 (permalink) | |||||||||
| Senior Member ![]() gei_spot is going phishing
Location: Somewhere in this vast universe on a little rock that looks like a grape. Rep Power: 11 ![]() | Quote:
![]() __________________ | |||||||||
| | |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
| |