Forums
This topic is locked
Views on an item
Posted 03 Jan 2002 22:25:27
1
has voted
03 Jan 2002 22:25:27 Paul Gowder posted:
I want to track the number of views of a record. So I have views field in my database.How can I create an automatic update function to add 1 to the count??
Replies
Replied 03 Jan 2002 22:37:29
03 Jan 2002 22:37:29 Viktor Farcic replied:
Use Command (Stored Procedure) from Server Behaviors.
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
I want to track the number of views of a record. So I have views field in my database.
How can I create an automatic update function to add 1 to the count??
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Viktor Farcic
TalkZone Manager
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
I want to track the number of views of a record. So I have views field in my database.
How can I create an automatic update function to add 1 to the count??
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Viktor Farcic
TalkZone Manager
Replied 04 Jan 2002 00:08:38
04 Jan 2002 00:08:38 Paul Gowder replied:
Can I use a stored procedure with mysql??
Replied 04 Jan 2002 00:11:00
04 Jan 2002 00:11:00 Paul Gowder replied:
I don't see a place to add store procedures under command???
Replied 04 Jan 2002 09:57:53
04 Jan 2002 09:57:53 Viktor Farcic replied:
Sorry! I tought you're using ASP.
Viktor Farcic
TalkZone Manager
Viktor Farcic
TalkZone Manager