Re: [PHP-DB] UPDATE doesn't work

2003-02-05 Thread Le Hoang
] UPDATE doesn't work On Wednesday 05 February 2003 12:50, Le Hoang wrote: // Add 1 view to the view column $v = $row[view]; $vplus = $v+1; $view = mysql_query(update photoshop_tutorial where id=$id set view=$vplus); // Problem here! You should ALWAYS check

[PHP-DB] UPDATE doesn't work

2003-02-04 Thread Le Hoang
; echo p$row[description]; echo p$row[tutorial]; } But the view doedn't add 1 to the existing value Any solutions for that? Best regards, Le Hoang