Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-16-2012, 06:52 PM   PM User | #16
Fou-Lu
God Emperor


 
Fou-Lu's Avatar
 
Join Date: Sep 2002
Location: Saskatoon, Saskatchewan
Posts: 15,645
Thanks: 4
Thanked 2,450 Times in 2,419 Posts
Fou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to all
Lols, I was just saying that if you're $chrismas->isMerry throws a BahHumbugException that it then tosses back as being o'l Ebenezer.
Fou-Lu is offline   Reply With Quote
Old 12-17-2012, 11:08 AM   PM User | #17
idalatob
Regular Coder

 
Join Date: Sep 2007
Location: Grahamstown, South Africa
Posts: 237
Thanks: 6
Thanked 17 Times in 17 Posts
idalatob is on a distinguished road
WOOOHOOO! MY TURN!

PHP Code:

$days 
= array(
"First" => "a faulty line of code",
"Second" => "a segmentation fault",
"Third" => "a server crash",
"Fourth" => "a newbie programmer junior",
"Fifth" => "an imaginative marketer",
"Sixth" => "an uncaught exception",
"Seventh" => "a division by zero",
"Eighth" => "a stack overflow",
"Ninth" => "&^%&^% - what happened here? I expected a string",
"Tenth" => "a really strange bug",
"Eleventh" => "a comment like this: *Why'd we do it like this?*",
"Twelfth" => "finally a day off"
);

foreach (
$days as $day=> $present) {

echo (
"On the {$day} of christmas my job gave to me: {$present}\n" ) ;


PS. Im going to kenya in 2 days. How awesome is that? Whooptie doooooo!
idalatob is offline   Reply With Quote
Old 12-17-2012, 03:06 PM   PM User | #18
Redcoder
Regular Coder

 
Redcoder's Avatar
 
Join Date: May 2012
Location: /dev/couch
Posts: 309
Thanks: 2
Thanked 46 Times in 45 Posts
Redcoder has a little shameless behaviour in the past
Quote:
Originally Posted by idalatob View Post
WOOOHOOO! MY TURN!

PHP Code:

$days 
= array(
"First" => "a faulty line of code",
"Second" => "a segmentation fault",
"Third" => "a server crash",
"Fourth" => "a newbie programmer junior",
"Fifth" => "an imaginative marketer",
"Sixth" => "an uncaught exception",
"Seventh" => "a division by zero",
"Eighth" => "a stack overflow",
"Ninth" => "&^%&^% - what happened here? I expected a string",
"Tenth" => "a really strange bug",
"Eleventh" => "a comment like this: *Why'd we do it like this?*",
"Twelfth" => "finally a day off"
);

foreach (
$days as $day=> $present) {

echo (
"On the {$day} of christmas my job gave to me: {$present}\n" ) ;


PS. Im going to kenya in 2 days. How awesome is that? Whooptie doooooo!
Haha...@idolatob. I'm in Kenya too for the holidays.

Have a good time, this place is awesome. Merry Christmas mate.
__________________
For professional Hosting and Web design.....


NetEssentials.co.uk

Last edited by Redcoder; 12-17-2012 at 04:00 PM..
Redcoder is offline   Reply With Quote
Old 12-17-2012, 03:26 PM   PM User | #19
durangod
Senior Coder

 
Join Date: Nov 2010
Posts: 1,177
Thanks: 214
Thanked 31 Times in 30 Posts
durangod is on a distinguished road
lol very good, and kenya sorry but they could not pay me enough to go to that country now days, or any country for that matter outside of maybe Ireland or UK or Ca. Good luck and come back safe.
durangod is offline   Reply With Quote
Old 12-17-2012, 03:58 PM   PM User | #20
tangoforce
Senior Coder

 
tangoforce's Avatar
 
Join Date: Feb 2011
Location: Your Monitor
Posts: 3,503
Thanks: 45
Thanked 439 Times in 428 Posts
tangoforce will become famous soon enoughtangoforce will become famous soon enough
Quote:
Originally Posted by durangod View Post
lol very good, and kenya sorry but they could not pay me enough to go to that country now days, or any country for that matter outside of maybe Ireland or UK
Where are you then? I thought you were american but (unless I'm misunderstanding it) from what you say you're over here in Ireland or the UK?
__________________
Please wrap your code in [php] tags. It is a sticky topic and it HELPS us to HELP YOU!
TIP: Coding styles and $end errors :::::::::: TIP: Warning: Cannot modify header information - headers already sent :::::::::: TIP: Quotes / Parse error: syntax error, unexpected T_..
PHP Code:
//Please don't use this for your form processing:
if (isset($_POST['submit']))
//Internet explorer has a bug and does not always send the submit value. 
Explanation: The IE if(isset($_POST['submit'])) bug explained.
tangoforce is offline   Reply With Quote
Old 12-17-2012, 04:07 PM   PM User | #21
durangod
Senior Coder

 
Join Date: Nov 2010
Posts: 1,177
Thanks: 214
Thanked 31 Times in 30 Posts
durangod is on a distinguished road
Quote:
Originally Posted by tangoforce View Post
Where are you then? I thought you were american but (unless I'm misunderstanding it) from what you say you're over here in Ireland or the UK?
Sorry USA by default sorry i didnt mention that, poor wording on my part. Yes i meant any place else other than USA with the exception of those countries..
durangod is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:45 AM.


Advertisement
Log in to turn off these ads.