Re: [PHP] New years resolution: To get serious with my programming! Anyone wanna help? :)

2008-01-19 Thread Richard Lynch
On Thu, January 17, 2008 3:05 pm, Daniel Brown wrote: On Jan 17, 2008 4:01 PM, Richard Lynch [EMAIL PROTECTED] wrote: And I don't recall the answer, and don't give a [bleep] since it's almost never the bottleneck in an application in the first place... You swore. I'm tellin' Mom.

Re: [PHP] New years resolution: To get serious with my programming! Anyone wanna help? :)

2008-01-18 Thread Zoltán Németh
2008. 01. 17, csütörtök keltezéssel 15.01-kor Richard Lynch ezt írta: On Thu, January 17, 2008 2:06 am, Jochem Maas wrote: Richard Lynch schreef: On Wed, January 16, 2008 9:57 am, Daniel Brown wrote: echo($h.\n.$i.\n); // echo is a construct, but as expected, can use parentheses()

Re: [PHP] New years resolution: To get serious with my programming! Anyone wanna help? :)

2008-01-17 Thread Jochem Maas
Richard Lynch schreef: On Wed, January 16, 2008 9:57 am, Daniel Brown wrote: echo($h.\n.$i.\n); // echo is a construct, but as expected, can use parentheses() Just to be picuyane: echo isn't using the parens. The parens are forcing PHP to evaluate the concatenation of the strings FIRST, and

Re: [PHP] New years resolution: To get serious with my programming! Anyone wanna help? :)

2008-01-17 Thread Daniel Brown
On Jan 17, 2008 4:01 PM, Richard Lynch [EMAIL PROTECTED] wrote: And I don't recall the answer, and don't give a [bleep] since it's almost never the bottleneck in an application in the first place... You swore. I'm tellin' Mom. -- /Dan Daniel P. Brown Senior Unix Geek and #1 Rated Year's

Re: [PHP] New years resolution: To get serious with my programming! Anyone wanna help? :)

2008-01-17 Thread Richard Lynch
On Thu, January 17, 2008 2:06 am, Jochem Maas wrote: Richard Lynch schreef: On Wed, January 16, 2008 9:57 am, Daniel Brown wrote: echo($h.\n.$i.\n); // echo is a construct, but as expected, can use parentheses() Just to be picuyane: echo isn't using the parens. The parens are forcing PHP

Re: [PHP] New years resolution: To get serious with my programming! Anyone wanna help? :)

2008-01-16 Thread Daniel Brown
On Jan 15, 2008 6:42 PM, Jochem Maas [EMAIL PROTECTED] wrote: funny that, I usually use 'exit;' for a clean exit and 'die();' to signify a shitty exit ... although they are actually indentical functionally - just my idiosyncrasity ... that said I also so stuff like 'exit(1);' when I really

Re: [PHP] New years resolution: To get serious with my programming! Anyone wanna help? :)

2008-01-16 Thread Reese
Daniel Brown wrote: On Jan 15, 2008 6:42 PM, Jochem Maas [EMAIL PROTECTED] wrote: funny that, I usually use 'exit;' for a clean exit and 'die();' to signify a shitty exit ... although they are actually indentical functionally - just my idiosyncrasity ... that said I also so stuff like

Re: [PHP] New years resolution: To get serious with my programming! Anyone wanna help? :)

2008-01-16 Thread Richard Lynch
On Wed, January 16, 2008 9:57 am, Daniel Brown wrote: echo($h.\n.$i.\n); // echo is a construct, but as expected, can use parentheses() Just to be picuyane: echo isn't using the parens. The parens are forcing PHP to evaluate the concatenation of the strings FIRST, and then echo them. And

Re: [PHP] New years resolution: To get serious with my programming! Anyone wanna help? :)

2008-01-15 Thread Richard Lynch
On Tue, January 8, 2008 3:40 pm, Jack Mays wrote: funnily enough exit is even listed as a function. Sure it is: http://us2.php.net/manual/en/function.exit.php Unless I'm missing a point here or something. :) Technically, exit is language construct and not a function. It does not

Re: [PHP] New years resolution: To get serious with my programming! Anyone wanna help? :)

2008-01-15 Thread Jochem Maas
Richard Lynch schreef: On Tue, January 8, 2008 3:40 pm, Jack Mays wrote: funnily enough exit is even listed as a function. Sure it is: http://us2.php.net/manual/en/function.exit.php Unless I'm missing a point here or something. :) Technically, exit is language construct and not a

[PHP] New years resolution: To get serious with my programming! Anyone wanna help? :)

2008-01-08 Thread Jason Pruim
Hi Everyone, Happy New Year a week late! :) I am trying to get more serious with my programming, I feel fairly confident in my basic abilities except for one... Error checking. That's what I'm trying to get figured out :) I have a script, that I am using to connect to my database, read,

Re: [PHP] New years resolution: To get serious with my programming! Anyone wanna help? :)

2008-01-08 Thread Daniel Brown
On Jan 8, 2008 11:54 AM, Jason Pruim [EMAIL PROTECTED] wrote: Hi Everyone, Happy New Year a week late! :) And to you, as well. most of the time the script works perfectly, but on the occassion it doesn't like when jupiters third moon aligns with uranus, I want the user to be notified

Re: [PHP] New years resolution: To get serious with my programming! Anyone wanna help? :)

2008-01-08 Thread Jack Mays
Jason Pruim wrote: Hi Everyone, Happy New Year a week late! :) I am trying to get more serious with my programming, I feel fairly confident in my basic abilities except for one... Error checking. That's what I'm trying to get figured out :) I have a script, that I am using to connect to my

Re: [PHP] New years resolution: To get serious with my programming! Anyone wanna help? :)

2008-01-08 Thread Jason Pruim
On Jan 8, 2008, at 12:06 PM, Daniel Brown wrote: On Jan 8, 2008 11:54 AM, Jason Pruim [EMAIL PROTECTED] wrote: Hi Everyone, Happy New Year a week late! :) And to you, as well. most of the time the script works perfectly, but on the occassion it doesn't like when jupiters third moon

Re: [PHP] New years resolution: To get serious with my programming! Anyone wanna help? :)

2008-01-08 Thread Jochem Maas
Jason Pruim schreef: Hi Everyone, Happy New Year a week late! :) I am trying to get more serious with my programming, I feel fairly confident in my basic abilities except for one... Error checking. That's what I'm trying to get figured out :) I have a script, that I am using to connect

Re: [PHP] New years resolution: To get serious with my programming! Anyone wanna help? :)

2008-01-08 Thread Daniel Brown
On Jan 8, 2008 1:18 PM, Jason Pruim [EMAIL PROTECTED] wrote: On Jan 8, 2008, at 12:06 PM, Daniel Brown wrote: On Jan 8, 2008 11:54 AM, Jason Pruim [EMAIL PROTECTED] wrote: most of the time the script works perfectly, but on the occassion it doesn't like when jupiters third moon aligns

Re: [PHP] New years resolution: To get serious with my programming! Anyone wanna help? :)

2008-01-08 Thread Jason Pruim
On Jan 8, 2008, at 12:22 PM, Jack Mays wrote: Jason Pruim wrote: Hi Everyone, Happy New Year a week late! :) I am trying to get more serious with my programming, I feel fairly confident in my basic abilities except for one... Error checking. That's what I'm trying to get figured out :) I

Re: [PHP] New years resolution: To get serious with my programming! Anyone wanna help? :)

2008-01-08 Thread Stephen Johnson
From: Jason Pruim [EMAIL PROTECTED] Date: Tue, 8 Jan 2008 13:18:40 -0500 To: Jack Mays [EMAIL PROTECTED] Cc: php-general General List php-general@lists.php.net Subject: Re: [PHP] New years resolution: To get serious with my programming! Anyone wanna help? :) Actually, the problem

Re: [PHP] New years resolution: To get serious with my programming! Anyone wanna help? :)

2008-01-08 Thread Jason Pruim
On Jan 8, 2008, at 1:29 PM, Stephen Johnson wrote: From: Jason Pruim [EMAIL PROTECTED] Date: Tue, 8 Jan 2008 13:18:40 -0500 To: Jack Mays [EMAIL PROTECTED] Cc: php-general General List php-general@lists.php.net Subject: Re: [PHP] New years resolution: To get serious with my programming

Re: [PHP] New years resolution: To get serious with my programming! Anyone wanna help? :)

2008-01-08 Thread Jason Pruim
On Jan 8, 2008, at 1:23 PM, Jochem Maas wrote: Jason Pruim schreef: Hi Everyone, Happy New Year a week late! :) I am trying to get more serious with my programming, I feel fairly confident in my basic abilities except for one... Error checking. That's what I'm trying to get figured out

Re: [PHP] New years resolution: To get serious with my programming! Anyone wanna help? :)

2008-01-08 Thread Jason Pruim
On Jan 8, 2008, at 1:31 PM, Daniel Brown wrote: On Jan 8, 2008 1:18 PM, Jason Pruim [EMAIL PROTECTED] wrote: On Jan 8, 2008, at 12:06 PM, Daniel Brown wrote: On Jan 8, 2008 11:54 AM, Jason Pruim [EMAIL PROTECTED] wrote: most of the time the script works perfectly, but on the occassion it

Re: [PHP] New years resolution: To get serious with my programming! Anyone wanna help? :)

2008-01-08 Thread Daniel Brown
On Jan 8, 2008 3:43 PM, Jason Pruim [EMAIL PROTECTED] wrote: I wasn't able to make it work with mysqli_insert_id() but you did give me the idea of using mysqli_stmt_error() instead. Which doesn't return anything if it was successful... So a simple: $check = mysqli_stmt_error(); if($check = )

Re: [PHP] New years resolution: To get serious with my programming! Anyone wanna help? :)

2008-01-08 Thread Jochem Maas
Daniel Brown schreef: On Jan 8, 2008 3:43 PM, Jason Pruim [EMAIL PROTECTED] wrote: I wasn't able to make it work with mysqli_insert_id() but you did give me the idea of using mysqli_stmt_error() instead. Which doesn't return anything if it was successful... So a simple: $check =

Re: [PHP] New years resolution: To get serious with my programming! Anyone wanna help? :)

2008-01-08 Thread Jack Mays
funnily enough exit is even listed as a function. LOL, Ignore me, I read that message to fast and read isn't instead of is. It's time to go home and sleep :) -- Jack Mays -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] New years resolution: To get serious with my programming! Anyone wanna help? :)

2008-01-08 Thread Jochem Maas
Jack Mays schreef: funnily enough exit is even listed as a function. Sure it is: http://us2.php.net/manual/en/function.exit.php Unless I'm missing a point here or something. :) could you re-read that last sentence of my previous post :-) I believe your brain is injecting non-existent

Re: [PHP] New years resolution: To get serious with my programming! Anyone wanna help? :)

2008-01-08 Thread Jack Mays
funnily enough exit is even listed as a function. Sure it is: http://us2.php.net/manual/en/function.exit.php Unless I'm missing a point here or something. :) -- Jack Mays -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] New years resolution: To get serious with my programming! Anyone wanna help? :)

2008-01-08 Thread Daniel Brown
On Jan 8, 2008 4:40 PM, Jack Mays [EMAIL PROTECTED] wrote: funnily enough exit is even listed as a function. Sure it is: http://us2.php.net/manual/en/function.exit.php Unless I'm missing a point here or something. :) Actually, exit is never a function. It's a language construct.

Re: [PHP] New years resolution: To get serious with my programming! Anyone wanna help? :)

2008-01-08 Thread Jochem Maas
Jack Mays schreef: funnily enough exit is even listed as a function. LOL, Ignore me, I read that message to fast and read isn't instead of is. It's time to go home and sleep :) er, too late - just pretend I ignored it ;-) -- Jack Mays -- PHP General Mailing List

Re: [PHP] New years resolution: To get serious with my programming! Anyone wanna help? :)

2008-01-08 Thread Jochem Maas
Jason Pruim schreef: On Jan 8, 2008, at 1:23 PM, Jochem Maas wrote: Jason Pruim schreef: Hi Everyone, Happy New Year a week late! :) I am trying to get more serious with my programming, I feel fairly confident in my basic abilities except for one... Error checking. That's what I'm

Re: [PHP] New years resolution: To get serious with my programming! Anyone wanna help? :)

2008-01-08 Thread Philip Thompson
On Jan 8, 2008, at 3:57 PM, Daniel Brown wrote: On Jan 8, 2008 4:40 PM, Jack Mays [EMAIL PROTECTED] wrote: funnily enough exit is even listed as a function. Sure it is: http://us2.php.net/manual/en/function.exit.php Unless I'm missing a point here or something. :) Actually, exit is

Re: [PHP] New years resolution: To get serious with my programming! Anyone wanna help? :)

2008-01-08 Thread Daniel Brown
On Jan 8, 2008 5:18 PM, Philip Thompson [EMAIL PROTECTED] wrote: Silly Rabbit! 'die' is NOT function - it's a construct. In fact, it's an alias to 'exit'. Crap! I didn't mean it's an alias! It's equivalent. Whatever that means... Whew. Is it only Tuesday? Bite my shiny metal ass,

Re: [PHP] New years resolution: To get serious with my programming! Anyone wanna help? :)

2008-01-08 Thread Philip Thompson
On Jan 8, 2008, at 4:16 PM, Philip Thompson wrote: On Jan 8, 2008, at 3:57 PM, Daniel Brown wrote: On Jan 8, 2008 4:40 PM, Jack Mays [EMAIL PROTECTED] wrote: funnily enough exit is even listed as a function. Sure it is: http://us2.php.net/manual/en/function.exit.php Unless I'm missing