Answers for "php get sql update from session"

PHP
0

php get sql update from session

$sql = "UPDATE profile SET name = '".$name.'" WHERE userid = '".$_SESSION['userid].'"; 
    $update = $connection->query($sql);
    if($update){
        $_SESSION['name']=$name;
    }
Posted by: Guest on February-01-2021

Browse Popular Code Answers by Language