> sqlst = "update sfproducts set projectdonations = projectdonations +
> &testvalue WHERE prodID = '" & sProdID & "'"
^^^^^^

$sqlst = "update sfproducts set projectdonations = projectdomains + " .
$testvalue . "WHERE prodID = '" . $sProdID . "'";

$sqlstr then looks like this:
update sfproducts set projectdonations = projectdomains + 1 WHERE prodID =
'1'

if $testvalue and $sProdID had the value of 1 for example.

--
me



---------------------------------------------------------------------
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

Reply via email to