First let me say thanks to everyone who replied!
Ashley, I got it fixed but I have not a clue what did it :)
RD
On Nov 27, 2010, at 6:49 AM, Ashley Sheridan wrote:
On Fri, 2010-11-26 at 22:29 -0800, Tommy Pham wrote:
-Original Message-
From: Richard West [mailto:p...@cbnisp.com
PS: PEBKAC I figure :)
On Nov 27, 2010, at 6:49 AM, Ashley Sheridan wrote:
On Fri, 2010-11-26 at 22:29 -0800, Tommy Pham wrote:
-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
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 =
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?
$val
, 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 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
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 p...@cbnisp.com wrote:
Hey Tommy,
I get the same when seting it to a_downloads=a_downloads
I'm going to jump in and throw in my 2 cents...
Have you used dreamweaver?
I would suggest Dreamweaver to any new programmer beginning php/mysql.
It helped me out tremendously in the beginning. I'm not an advanced programmer
with hand coding classes yet, but I can get any job completed for
Hello Guys, Gals,
I've been working on a project of mine creating a custom little cms. I've
managed to go by tutorials and reference material from the php site to get as
far as I have. I've got search engine friendly links working with mod rewrite
using mysql entry of page alias and my code is
8 matches
Mail list logo