これは私の問題です。私はbindparam
tsqlで試していますが、それは起こりませんでした。
$sql="INSERT INTO `digishop`.`sell_table` (`Id`, `Time`, `GroupId`, `Amount`, `ProductId`) VALUES ('11', ':time', ':groupid', '1000', '1');";
$doer = new doer();
$doer->ping();
$result=$doer->temp->prepare($sql);
$temp=1;
$result->bindparam(':time',$temp);
$temp1=1450;
$result->bindparam(':groupid',$temp);
$doer->temp=$result;
しかし、データベースでは:
Full texts Id Time GroupId Amount ProductId
11 0 :goroid 1000 1
:D を参照してください。これを修正するにはどうすればよいですか?