B: querys the database and returns the stories to a new page. How do I set
B: up a counter to record how many times that story has been read.All
B: stories are loaded into the database and the new page is the results of
B: the query.
B:
First off, what programming API are u using? Perl, C, PHP?
Anyways, whenever the query to retrieve the content is passed,
along w/ that query pass the following:
update cnt_table set count=count+1 where story_id=1341234
Good luck
--
sherzodR <[EMAIL PROTECTED]>
use CGI::Session;
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php