How do you guys handle errors during, say, db insertions.
Let's say you have an ongoing transaction which fails on the n-th
insert. Ok, you roll back the transaction, no problem. How do you then
inform the user? Just using the text from pg_result_error or
something?
--
PHP General Mailing List
On 27 April 2010 10:42, Gary . php-gene...@garydjones.name wrote:
How do you guys handle errors during, say, db insertions.
Let's say you have an ongoing transaction which fails on the n-th
insert. Ok, you roll back the transaction, no problem. How do you then
inform the user? Just using the
On 27 April 2010 10:42, Gary . php-gene...@garydjones.name wrote:
How do you guys handle errors during, say, db insertions.
Let's say you have an ongoing transaction which fails on the n-th
insert. Ok, you roll back the transaction, no problem. How do you then
inform the user? Just using the
hello friends,
I have used
preg_replace('/[^0-9a-zа\~...@\$\%\^\*\(\)\;\,\.\'\/\_]/i', ' ',$match);
for remove the special characters. its work fine. but the problem I want to
remove special characters from this kind of sentence
///
#: quot;'Amor''' é fogo que arde sem se ver,''
#: ''é
Hi guys,
I have some issues with while.
I have an HTML Form, that uses GET to process its contents. Then
there's a PHP Script that receives the data, and evaluates the fields.
So, in some instance of the code, I do something like :
if (empty($a) AND empty($b)) {
echo something;
echo something;
On 26 April 2010 19:54, Williams, Dewey willi...@uncc.edu wrote:
The only online games I play are Guild Wars and - now - Dungeons and
Dragons Online (FREE!). I haven't played vgaplanets in ages - too few
servers to get a decent game. Not certain I can even install my original
3.5 inch disk
On 27 April 2010 14:36, Juan Rodriguez Monti j...@rodriguezmonti.com.ar wrote:
Hi guys,
I have some issues with while.
I have an HTML Form, that uses GET to process its contents. Then
there's a PHP Script that receives the data, and evaluates the fields.
So, in some instance of the code, I
On Tue, Apr 27, 2010 at 7:37 AM, Richard Quadling
rquadl...@googlemail.comwrote:
On 26 April 2010 19:54, Williams, Dewey willi...@uncc.edu wrote:
The only online games I play are Guild Wars and - now - Dungeons and
Dragons Online (FREE!). I haven't played vgaplanets in ages - too few
2010/4/27 Peter Lind peter.e.l...@gmail.com:
On 27 April 2010 14:36, Juan Rodriguez Monti j...@rodriguezmonti.com.ar
wrote:
Hi guys,
I have some issues with while.
I have an HTML Form, that uses GET to process its contents. Then
there's a PHP Script that receives the data, and evaluates
On Tue, Apr 27, 2010 at 9:24 AM, Programming Guides
programming.gui...@gmail.com wrote:
I've played and still play StarCraft: Brood War a lot. StarCraft 2 is now
available for pre-order and the beta is active. I'm looking forward to it
but I'm not looking forward to how much time I'll sink
On Tue, Apr 27, 2010 at 10:42:03AM +0200, Gary . wrote:
How do you guys handle errors during, say, db insertions.
Let's say you have an ongoing transaction which fails on the n-th
insert. Ok, you roll back the transaction, no problem. How do you then
inform the user? Just using the text
On Tue, Apr 27, 2010 at 8:27 AM, Dan Joseph dmjos...@gmail.com wrote:
On Tue, Apr 27, 2010 at 9:24 AM, Programming Guides
programming.gui...@gmail.com wrote:
I've played and still play StarCraft: Brood War a lot. StarCraft 2 is now
available for pre-order and the beta is active. I'm
On 27 April 2010 15:36, Paul M Foster pa...@quillandmouse.com wrote:
On Tue, Apr 27, 2010 at 10:42:03AM +0200, Gary . wrote:
How do you guys handle errors during, say, db insertions.
Let's say you have an ongoing transaction which fails on the n-th
insert. Ok, you roll back the transaction,
On Tue, Apr 27, 2010 at 10:46 AM, Peter Lind wrote:
On 27 April 2010 10:42, Gary . wrote:
How do you guys handle errors during, say, db insertions.
Let's say you have an ongoing transaction which fails on the n-th
insert. Ok, you roll back the transaction, no problem. How do you then
inform
On Tue, Apr 27, 2010 at 03:41:04PM +0200, Peter Lind wrote:
On 27 April 2010 15:36, Paul M Foster pa...@quillandmouse.com wrote:
On Tue, Apr 27, 2010 at 10:42:03AM +0200, Gary . wrote:
How do you guys handle errors during, say, db insertions.
Let's say you have an ongoing transaction
On 27 April 2010 16:07, Paul M Foster pa...@quillandmouse.com wrote:
On Tue, Apr 27, 2010 at 03:41:04PM +0200, Peter Lind wrote:
On 27 April 2010 15:36, Paul M Foster pa...@quillandmouse.com wrote:
On Tue, Apr 27, 2010 at 10:42:03AM +0200, Gary . wrote:
How do you guys handle errors
On Tue, Apr 27, 2010 at 04:13:20PM +0200, Peter Lind wrote:
On 27 April 2010 16:07, Paul M Foster pa...@quillandmouse.com wrote:
On Tue, Apr 27, 2010 at 03:41:04PM +0200, Peter Lind wrote:
On 27 April 2010 15:36, Paul M Foster pa...@quillandmouse.com wrote:
On Tue, Apr 27, 2010 at
On 27 April 2010 16:24, Paul M Foster pa...@quillandmouse.com wrote:
On Tue, Apr 27, 2010 at 04:13:20PM +0200, Peter Lind wrote:
On 27 April 2010 16:07, Paul M Foster pa...@quillandmouse.com wrote:
On Tue, Apr 27, 2010 at 03:41:04PM +0200, Peter Lind wrote:
On 27 April 2010 15:36, Paul M
Hi there,
I am trying to find mysql db entries inside a tabel with the help of php
that are in the distance of a certain amount of kilometers from a given
zip code.
Unfortunatelly something must be wrong, as I do not get the desired
results. Has anybody experience with that?
Here is the
Peter Lind wrote:
On 27 April 2010 16:24, Paul M Foster pa...@quillandmouse.com wrote:
On Tue, Apr 27, 2010 at 04:13:20PM +0200, Peter Lind wrote:
On 27 April 2010 16:07, Paul M Foster pa...@quillandmouse.com wrote:
On Tue, Apr 27, 2010 at 03:41:04PM +0200, Peter Lind wrote:
On 27 April
Merlin Morgenstern wrote:
Hi there,
I am trying to find mysql db entries inside a tabel with the help of php
that are in the distance of a certain amount of kilometers from a given
zip code.
Unfortunatelly something must be wrong, as I do not get the desired
results. Has anybody
I'm still shocked you guys are still writing code that has errors in it,
what's worse is you know about the errors, and instead of fixing them
you're just telling the user about it!
The point here is that we, programmers, know that we write code with
bugs in it. We are realistic about it,
At 9:36 AM -0400 4/27/10, Paul M Foster wrote:
On Tue, Apr 27, 2010 at 10:42:03AM +0200, Gary . wrote:
How do you guys handle errors during, say, db insertions.
Let's say you have an ongoing transaction which fails on the n-th
insert. Ok, you roll back the transaction, no problem. How do
Teus Benschop wrote:
I'm still shocked you guys are still writing code that has errors in it,
what's worse is you know about the errors, and instead of fixing them
you're just telling the user about it!
The point here is that we, programmers, know that we write code with
bugs in it. We are
-Original Message-
From: Programming Guides [mailto:programming.gui...@gmail.com]
Sent: Tuesday, April 27, 2010 6:35 AM
To: Dan Joseph
Cc: php-general@lists.php.net
Subject: Re: [PHP] What's your game? (X-PHP)
On Tue, Apr 27, 2010 at 8:27 AM, Dan Joseph dmjos...@gmail.com wrote:
Hi Nathan,
WOW!! 4GB when rar'ed. That must too you a while to compile that
information.
Regards,
Tommy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 4:13 PM +0200 4/27/10, Peter Lind wrote:
If only the world consisted of smart users ... I think, however, that
we're generally closer to the opposite. And no, I don't hate users -
I've just seen too many people do things that were very far removed
from smart.
Regards
Peter
Peter et al:
At 10:24 AM -0400 4/27/10, Paul M Foster wrote:
Unfortunately, true. Sometimes I think computer users should be required
to take a course in using a computer before being allowed behind the
keyboard.
Paul
Yeah, like I believe that everyone should do through at least one
divorce before
On Tue, 2010-04-27 at 12:12 -0400, tedd wrote:
At 4:13 PM +0200 4/27/10, Peter Lind wrote:
If only the world consisted of smart users ... I think, however, that
we're generally closer to the opposite. And no, I don't hate users -
I've just seen too many people do things that were very far
At 4:31 PM +0200 4/27/10, Peter Lind wrote:
While I love to rant at stupid users, the truth is probably that
programmers are the ones who should take courses in how users think.
In the end, if I fail to understand my users, it doesn't matter how
great my program is: they'll still fail to use it.
At 4:23 PM +0100 4/27/10, Nathan Rixham wrote:
I'm still shocked you guys are still writing code that has errors in it,
what's worse is you know about the errors, and instead of fixing them
you're just telling the user about it!
:p
Here's my code that doesn't contain errors:
?php
?
On 27 April 2010 18:21, tedd tedd.sperl...@gmail.com wrote:
At 4:31 PM +0200 4/27/10, Peter Lind wrote:
While I love to rant at stupid users, the truth is probably that
programmers are the ones who should take courses in how users think.
In the end, if I fail to understand my users, it
At 5:09 PM +0100 4/27/10, Ashley Sheridan wrote:
Sounds like you've got a few stories that would a lot of people
happy were you to share them on the DailyWTF ;)
Thanks,
Ash
Ash:
Sharing them here is more direct and meaningful to what we do, but I
will investigate what you suggest.
Left 4 Dead 2, by far my favorite game on the PC, is my current fixation. I
enjoy Battlefield 2: Bad Company but tend to get annoyed having to face
opponents 5-10 x my level. You can find me as Captain Cujo on both games.
On Sun, Apr 25, 2010 at 10:37 AM, Nathan Rixham nrix...@gmail.com wrote:
On Tue, Apr 27, 2010 at 12:12:31PM -0400, tedd wrote:
At 4:13 PM +0200 4/27/10, Peter Lind wrote:
If only the world consisted of smart users ... I think, however, that
we're generally closer to the opposite. And no, I don't hate users -
I've just seen too many people do things that were very
At 10:24 AM -0400 4/27/10, Paul M Foster wrote:
Unfortunately, true. Sometimes I think computer users should be
required to take a course in using a computer before being allowed
behind the keyboard.
Paul
I came across a term long ago amidst my readings: PEBKAC
Problem
Exists
Between
Keyboard
At 4:12 PM +0100 4/26/10, Paul Jinks wrote:
I'm considering my options for making quizzes mostly multiple choice
type of thing, but also 'filling in the gaps'. This is in support of
educational materials I'm working on. So far I've looked at Flash and
javascript but have concerns about
On 4/27/10, tedd wrote:
At 4:23 PM +0100 4/27/10, Nathan Rixham wrote:
I'm still shocked you guys are still writing code that has errors in it,
what's worse is you know about the errors, and instead of fixing them
you're just telling the user about it!
:p
Here's my code that doesn't contain
On 26 April 2010 18:12, Paul Jinks p...@pauljinks.co.uk wrote:
I'm considering my options for making quizzes mostly multiple choice
type of thing, but also 'filling in the gaps'. This is in support of
educational materials I'm working on. So far I've looked at Flash and
javascript but have
On Tue, Apr 27, 2010 at 12:23 PM, tedd tedd.sperl...@gmail.com wrote:
At 4:23 PM +0100 4/27/10, Nathan Rixham wrote:
I'm still shocked you guys are still writing code that has errors in it,
what's worse is you know about the errors, and instead of fixing them
you're just telling the user
On Tue, Apr 27, 2010 at 12:55 PM, tedd tedd.sperl...@gmail.com wrote:
At 4:12 PM +0100 4/26/10, Paul Jinks wrote:
I'm considering my options for making quizzes mostly multiple choice
type of thing, but also 'filling in the gaps'. This is in support of
educational materials I'm working on. So
Hi everyone.
I got a quickie LOL
is there a way to auto indent code. I'm using Kate and I have it set so the
tab is only 4 spaces, but I was wondering if there was an easier way than to
have to hit the tab key 1x then 2x then 3x then 2x then 1x to create nice laid
out code like this:
-
There is a command indent in your kde.
Check the manual
Shiplu Mokaddim
My talks, http://talk.cmyweb.net
Follow me, http://twitter.com/shiplu
SUST Programmers, http://groups.google.com/group/p2psust
Innovation distinguishes bet ... ... (ask Steve Jobs the rest)
--
PHP General Mailing List
On Tue, 2010-04-27 at 16:33 -0400, David McGlone wrote:
Hi everyone.
I got a quickie LOL
is there a way to auto indent code. I'm using Kate and I have it set so the
tab is only 4 spaces, but I was wondering if there was an easier way than to
have to hit the tab key 1x then 2x then 3x
On 4/27/2010 3:55 PM, Ashley Sheridan wrote:
On Tue, 2010-04-27 at 16:33 -0400, David McGlone wrote:
Hi everyone.
I got a quickie LOL
is there a way to auto indent code. I'm using Kate and I have it set so the
tab is only 4 spaces, but I was wondering if there was an easier way than to
have to
On Tue, Apr 27, 2010 at 6:00 PM, D. Dante Lorenso da...@lorenso.com wrote:
On 4/27/2010 3:55 PM, Ashley Sheridan wrote:
On Tue, 2010-04-27 at 16:33 -0400, David McGlone wrote:
Hi everyone.
I got a quickie LOL
is there a way to auto indent code. I'm using Kate and I have it set so
the
tab
On Tue, Apr 27, 2010 at 08:52:09PM -0500, Programming Guides wrote:
On Tue, Apr 27, 2010 at 6:00 PM, D. Dante Lorenso da...@lorenso.com wrote:
On 4/27/2010 3:55 PM, Ashley Sheridan wrote:
On Tue, 2010-04-27 at 16:33 -0400, David McGlone wrote:
Hi everyone.
I got a quickie LOL
is
On Tuesday 27 April 2010 16:55:45 Ashley Sheridan wrote:
On Tue, 2010-04-27 at 16:33 -0400, David McGlone wrote:
Hi everyone.
I got a quickie LOL
is there a way to auto indent code. I'm using Kate and I have it set so
the tab is only 4 spaces, but I was wondering if there was an
On Tuesday 27 April 2010 19:00:29 D. Dante Lorenso wrote:
On 4/27/2010 3:55 PM, Ashley Sheridan wrote:
On Tue, 2010-04-27 at 16:33 -0400, David McGlone wrote:
Hi everyone.
I got a quickie LOL
is there a way to auto indent code. I'm using Kate and I have it set so
the tab is only 4
On Tue, Apr 27, 2010 at 9:15 PM, Paul M Foster pa...@quillandmouse.comwrote:
On Tue, Apr 27, 2010 at 08:52:09PM -0500, Programming Guides wrote:
On Tue, Apr 27, 2010 at 6:00 PM, D. Dante Lorenso da...@lorenso.com
wrote:
On 4/27/2010 3:55 PM, Ashley Sheridan wrote:
On Tue,
On Tue, Apr 27, 2010 at 10:29:33PM -0400, David McGlone wrote:
On Tuesday 27 April 2010 19:00:29 D. Dante Lorenso wrote:
On 4/27/2010 3:55 PM, Ashley Sheridan wrote:
On Tue, 2010-04-27 at 16:33 -0400, David McGlone wrote:
Hi everyone.
I got a quickie LOL
is there a way to auto
51 matches
Mail list logo