> -Original Message-
> From: Richard West [mailto:p...@cbnisp.com]
> Sent: Friday, November 26, 2010 9:40 PM
> To: Peter Lind
> Cc: Tommy Pham; Tamara Temple; PHP General Mailing List
> Subject: Re: [PHP] PHP Add +1 mysql updates by 2?
>
> I took that into consideration so I added the upda
And what difference will that make if the document is requested twice with
every browser load?
On Nov 27, 2010 6:39 AM, "Richard West" wrote:
> I took that into consideration so I added the update at the very end of
document...
> Still the same,
> RD
>
>
>
>
> On Nov 27, 2010, at 12:31 AM, Peter L
I took that into consideration so I added the update at the very end of
document...
Still the same,
RD
On Nov 27, 2010, at 12:31 AM, Peter Lind wrote:
> On Saturday, November 27, 2010, Richard West wrote:
>> Hey Tommy,
>>
>> I get the same when seting it to a_downloads=a_downloads+1
>> It s
On Saturday, November 27, 2010, Richard West wrote:
> Hey Tommy,
>
> I get the same when seting it to a_downloads=a_downloads+1
> It still increments by 2
> I've never run into this before.
> RD
>
>
> On Nov 26, 2010, at 11:45 PM, Tommy Pham wrote:
>
>>> -Original Message-
>>> From: Tamara
Hey Tommy,
I get the same when seting it to a_downloads=a_downloads+1
It still increments by 2
I've never run into this before.
RD
On Nov 26, 2010, at 11:45 PM, Tommy Pham wrote:
>> -Original Message-
>> From: Tamara Temple [mailto:tamouse.li...@gmail.com]
>> Sent: Friday, November 26
No
On Nov 26, 2010, at 10:53 PM, Tamara Temple wrote:
>
> On Nov 26, 2010, at 8:36 PM, Richard West wrote:
>
>> Hey guys,
>> I've never run into this before.
>> I have a field in mysql for page views.
>> So I pull out value and do +1 to new value - after UPDATE SET it has
>> incremented by 2?
On 11/27/10 13:51, Tamara Temple wrote:
On Nov 26, 2010, at 7:28 PM, Da Rock wrote:
On 11/27/10 00:57, Richard Quadling wrote:
On 26 November 2010 00:07, Da
Rock wrote:
preg_match("/(\d{1,3})(\.)$/", exec($mixer . ' ' .
$command),&$matches)
Can you ...
var_dump(exec($mixer . ' ' . $co
> -Original Message-
> From: Tamara Temple [mailto:tamouse.li...@gmail.com]
> Sent: Friday, November 26, 2010 7:54 PM
> To: Richard West
> Cc: PHP General Mailing List
> Subject: Re: [PHP] PHP Add +1 mysql updates by 2?
>
>
> On Nov 26, 2010, at 8:36 PM, Richard West wrote:
>
> > Hey guy
On Nov 26, 2010, at 8:36 PM, Richard West wrote:
Hey guys,
I've never run into this before.
I have a field in mysql for page views.
So I pull out value and do +1 to new value - after UPDATE SET it has
incremented by 2?
$val = $row['a_downloads'] ;
$new_val = $val+1;
mysql_query("UPDATE cb
On Nov 26, 2010, at 7:28 PM, Da Rock wrote:
On 11/27/10 00:57, Richard Quadling wrote:
On 26 November 2010 00:07, Da Rockl...@herveybayaustralia.com.au> wrote:
preg_match("/(\d{1,3})(\.)$/", exec($mixer . ' ' . $command),&
$matches)
Can you ...
var_dump(exec($mixer . ' ' . $command));
Hey guys,
I've never run into this before.
I have a field in mysql for page views.
So I pull out value and do +1 to new value - after UPDATE SET it has
incremented by 2?
$val = $row['a_downloads'] ;
$new_val = $val+1;
mysql_query("UPDATE cbn_articles SET a_downloads='$new_val' WHERE a_id =
'".
On 11/27/10 00:57, Richard Quadling wrote:
On 26 November 2010 00:07, Da Rock wrote:
preg_match("/(\d{1,3})(\.)$/", exec($mixer . ' ' . $command),&$matches)
Can you ...
var_dump(exec($mixer . ' ' . $command));
I wonder if the output includes a new line which you are not
accounting
On 2010-11-26, at 7:33 PM, Adam Richardson wrote:
> On Fri, Nov 26, 2010 at 7:03 PM, Kirk Bailey wrote:
>
>> Hello all, my name is Kirk Bailey, and I am new to php, so please be
>> forbearing. I code in python, and am trying to learn this language as our
>> new client runs a web business bas
On Fri, Nov 26, 2010 at 7:03 PM, Kirk Bailey wrote:
> Hello all, my name is Kirk Bailey, and I am new to php, so please be
> forbearing. I code in python, and am trying to learn this language as our
> new client runs a web business based in it.
>
> I need a routine that will return a list of every
Hello all, my name is Kirk Bailey, and I am new to php, so please be
forbearing. I code in python, and am trying to learn this language as
our new client runs a web business based in it.
I need a routine that will return a list of every directory immediately
under the current directory- but no
On Nov 25, 2010, at 6:07 PM, Da Rock wrote:
preg_match("/(\d{1,3})(\.)$/", exec($mixer . ' ' . $command), &
$matches)
it looks like you're failing to account for the newline that comes
back in a command execution. Add trim() around the exec() call and try
again.
--
PHP General Mailing Li
On 26 November 2010 15:12, Tom Hendrikx wrote:
> On 26/11/10 15:54, Richard Quadling wrote:
>> On 25 November 2010 21:30, Tom Hendrikx wrote:
>>> Hi,
>>>
>>> I noticed that the mail() function in php 5.3.3 on gentoo linux triggers
>>> a warning when used. A simple debug script with the contents:
On 26/11/10 15:54, Richard Quadling wrote:
> On 25 November 2010 21:30, Tom Hendrikx wrote:
>> Hi,
>>
>> I noticed that the mail() function in php 5.3.3 on gentoo linux triggers
>> a warning when used. A simple debug script with the contents:
>>
>> > // recipient, subject, body
>> mail("s...@examp
On 26/11/10 15:54, Richard Quadling wrote:
> On 25 November 2010 21:30, Tom Hendrikx wrote:
>> Hi,
>>
>> I noticed that the mail() function in php 5.3.3 on gentoo linux triggers
>> a warning when used. A simple debug script with the contents:
>>
>> > // recipient, subject, body
>> mail("s...@examp
On 26 November 2010 00:07, Da Rock wrote:
> preg_match("/(\d{1,3})(\.)$/", exec($mixer . ' ' . $command), &$matches)
Can you ...
var_dump(exec($mixer . ' ' . $command));
I wonder if the output includes a new line which you are not
accounting for in the regex.
--
Richard Quadling
Twitter : EE
On 25 November 2010 21:30, Tom Hendrikx wrote:
> Hi,
>
> I noticed that the mail() function in php 5.3.3 on gentoo linux triggers
> a warning when used. A simple debug script with the contents:
>
> // recipient, subject, body
> mail("s...@example.com", "mail() test", "This is a test");
> ?>
>
> d
> On 25 November 2010 15:38, Ron Piggott wrote:
>>
>> Is "User Agent" suppose to have a hyphen "-" ? Ron
> http://en.wikipedia.org/wiki/User_agent "... the identity is
> transmitted via the User-Agent request header, ... "
http://tools.ietf.org/html/rfc1945#section-10.15
User-Agent
Please don't top post.
On 25 November 2010 15:38, Ron Piggott wrote:
>
> Is "User Agent" suppose to have a hyphen "-" ? Ron
>
>
>
> The Verse of the Day
> “Encouragement from God’s Word”
> http://www.TheVerseOfTheDay.info
> -Original Message- From: Richard Quadling
> Sent: Thursday, N
On Fri, 2010-11-26 at 15:21 +0200, Sotiris Katsaniotis wrote:
> Greetings fellow PHP developers!
>
> I am looking of a relatively simple way to export a whole database into
> an Excel file. I have several methods to export tables to Excel files
> but unfortunately I have failed to export a whole
Greetings fellow PHP developers!
I am looking of a relatively simple way to export a whole database into
an Excel file. I have several methods to export tables to Excel files
but unfortunately I have failed to export a whole database!
Can someone be so kind to point me in the right direction?
Dear List,
I'm looking for an open-source database reporting tool, which is written in
PHP.
Do you know of any php-driven alternative to Crystal Report?
What do you recommend?
Please let me know.
Thank you very much.
-behzad
26 matches
Mail list logo