RE: [PHP] A PHP UPDATE problem

2003-03-09 Thread John W. Holmes
> I am creating a polling system. Its operation likes this: > when the people vote the item, it updates the database by adding 1 for the > item automatically. > The part of code is showed here: > > $colname_rsAddVote = "1"; > if (isset($HTTP_POST_VARS['Vote'])) { > $colname_rsAddVote = (get_magic

[PHP] A PHP UPDATE problem

2003-03-08 Thread Terry Lau
Hello, I am creating a polling system. Its operation likes this: when the people vote the item, it updates the database by adding 1 for the item automatically. The part of code is showed here: $colname_rsAddVote = "1"; if (isset($HTTP_POST_VARS['Vote'])) { $colname_rsAddVote = (get_magic_quotes_