Home > database >  Updata how to reference the value of the other fields
Updata how to reference the value of the other fields

Time:09-22

$dbname=$_POST [] "$dbname";//from the form to obtain
$SQL="UPDATE $dbname SET the Content=$data1_0, Option1=$data2_0 WHERE ID=1";

How can the $dbname using in the updata

CodePudding user response:

The eldest brother, I have already solved!
Database when the connection has been used, to think of a data table as the database, data table name or some in the database,
  • Related