閒聊

pdo

$link 	= create_connection();
	  try {
			$stmt = $link->prepare("UPDATE repair_event SET	signimg=:signimg where uid=:id");	 
								  
			$stmt->bindParam(':signimg',$signimg);
			$stmt->bindParam(':id',$id);

			$result =  $stmt->execute();
//	$stmt->debugDumpParams();

		}
	catch (PDOException $e) {
		print $e->getMessage();
	}
Be the First to comment.

Leave a Comment

發佈留言必須填寫的電子郵件地址不會公開。

(若看不到驗證碼,請重新整理網頁。)