Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

update pdo mysql php

$sql = "UPDATE users SET name=?, surname=?, sex=? WHERE id=?";$stmt= $pdo->prepare($sql);$stmt->execute([$name, $surname, $sex, $id]);
Source by phpdelusions.net #
 
PREVIOUS NEXT
Tagged: #update #pdo #mysql #php
ADD COMMENT
Topic
Name
5+7 =