Gary . wrote:
> class Pg_Error
> {
> private static $errors =
> array(INTEGRITY_CONST_UNIQUE => 'uniqueness constraint
> violated');
> ...
> public static function getMessage($ec)
> {
> $text = '';
> if (array_key_exists($ec, Pg_Error::$errors))
>
class Pg_Error
{
private static $errors =
array(INTEGRITY_CONST_UNIQUE => 'uniqueness constraint violated');
...
public static function getMessage($ec)
{
$text = '';
if (array_key_exists($ec, Pg_Error::$errors))
{
$text = Pg_Error::$errors[$ec
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
On Tue, Apr 27, 2010 at 9:15 PM, Paul M Foster wrote:
> 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
> wrote:
> >
> > > On 4/27/2010 3:55 PM, Ashley Sheridan wrote:
> > >
> > >> On Tue, 2010-04-27 at 16:33 -0400, David
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 i
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
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 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
> >
On Tue, Apr 27, 2010 at 6:00 PM, 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
>>>
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 h
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 the
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 (htt
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:
-
-
On Tue, Apr 27, 2010 at 12:55 PM, tedd 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 far I've looked
On Tue, Apr 27, 2010 at 12:23 PM, 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
On 26 April 2010 18:12, 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 acces
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 doe
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 accessibil
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
Keybo
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
On Tue, 2010-04-27 at 12:31 -0400, tedd wrote:
> 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 an
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 wrote:
> however, there is
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.
Che
On 27 April 2010 18:21, tedd 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 doesn't matter how
>>
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:
Cheers,
ted
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.
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 f
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 getting
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:
S
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
> -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 wrote:
>
> > On Tu
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
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 yo
> 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,
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 e
Peter Lind wrote:
> On 27 April 2010 16:24, Paul M Foster wrote:
>> On Tue, Apr 27, 2010 at 04:13:20PM +0200, Peter Lind wrote:
>>
>>> On 27 April 2010 16:07, Paul M Foster wrote:
On Tue, Apr 27, 2010 at 03:41:04PM +0200, Peter Lind wrote:
> On 27 April 2010 15:36, Paul M Foster wr
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 co
On 27 April 2010 16:24, Paul M Foster wrote:
> On Tue, Apr 27, 2010 at 04:13:20PM +0200, Peter Lind wrote:
>
>> On 27 April 2010 16:07, Paul M Foster wrote:
>> > On Tue, Apr 27, 2010 at 03:41:04PM +0200, Peter Lind wrote:
>> >
>> >> On 27 April 2010 15:36, Paul M Foster wrote:
>> >> > On Tue, Ap
On Tue, Apr 27, 2010 at 04:13:20PM +0200, Peter Lind wrote:
> On 27 April 2010 16:07, Paul M Foster wrote:
> > On Tue, Apr 27, 2010 at 03:41:04PM +0200, Peter Lind wrote:
> >
> >> On 27 April 2010 15:36, Paul M Foster wrote:
> >> > On Tue, Apr 27, 2010 at 10:42:03AM +0200, Gary . wrote:
> >> >
>
On 27 April 2010 16:07, Paul M Foster wrote:
> On Tue, Apr 27, 2010 at 03:41:04PM +0200, Peter Lind wrote:
>
>> On 27 April 2010 15:36, 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.
>> >>
>> >
On Tue, Apr 27, 2010 at 03:41:04PM +0200, Peter Lind wrote:
> On 27 April 2010 15:36, 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 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
On 27 April 2010 15:36, 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. Ho
On Tue, Apr 27, 2010 at 8:27 AM, Dan Joseph 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 looking forward
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 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 sin
2010/4/27 Peter Lind :
> On 27 April 2010 14:36, Juan Rodriguez Monti
> 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
On Tue, Apr 27, 2010 at 7:37 AM, Richard Quadling
wrote:
> On 26 April 2010 19:54, Williams, Dewey 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 certa
On 27 April 2010 14:36, Juan Rodriguez Monti 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 do something like :
On 26 April 2010 19:54, Williams, Dewey 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 anymore!
>
> Dew
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 "somethin
On Tue, 2010-04-27 at 16:41 +0600, saeed ahmed wrote:
> 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 sen
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
///
#: "'Amor''' é fogo que arde sem se ver,''
#: ''é ferid
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 the user? Just using the text from pg_result_er
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 the user? Just using the text from pg_result_err
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
Manolis Vlachakis wrote:
Hallo there everyone..
first thing first i would like to thank
everyone for the help that this mailing list has provided me
throughout my project..
i have found many answers and got me out of black point many times!!!
now i am on my last step on my project
and i would li
56 matches
Mail list logo