Update db table with an INT
问题 Okay I can't get this figured out. I want a logged in user to update a row with an amount (INT), I keep getting the invalid parameter error as well as a Call to member function execute() on a non-object. Here is the php and html that should update the db <?php ini_set("log_errors", 1); ini_set("error_log", "/tmp/php-error.log"); session_start(); require_once 'class.user.php'; $user_home = new USER(); if(!$user_home->is_logged_in()) { $user_home->redirect('index.php'); } $stmt = $user_home-