Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

update pdo mysql php

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