Article View: adobe.golive.dynamic.content
Article #133Re: PHP Click Count question
From: Jerry_Artman
Date: Fri, 13 Aug 2004 18:25
Date: Fri, 13 Aug 2004 18:25
5 lines
942 bytes
942 bytes
Isn't storyID a numeric field. You are enclosing it in quotes and parsing it as text.
$query = "update stories set story_views = story_views + 1 where story_ID = 1234";
$query = "update stories set story_views = story_views + 1 where story_ID = ". pageParameter("showme" "-1") ."";
Technical Details
Message-ID:
<3bb5761f.1@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news.zanker.org!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!webxReferences:
<3bb5761f.-1@webx.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: 11ffd2,c02a081cb0c46677 X-Google-Attributes: gid11ffd2,public X-Google-Language: ENGLISH,ASCII-7-bit From: Jerry_Artman@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news.zanker.org!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.golive.dynamic.content Subject: Re: PHP Click Count question Message-ID: <3bb5761f.1@webx.la2eafNXanI> Date: Fri, 13 Aug 2004 11:25:41 -0700 References: <3bb5761f.-1@webx.la2eafNXanI> Lines: 8 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit