Es ist mir nicht gelungen, die vorbereiteten Abrechnungen in PDO durchzuführen. Ich möchte einige Experten um Rat bitten.
W
W 2017-11-21 23:25:40
0
1
974

<?php

$servername = "localhost";

$username = "root";

$password = "";

$dbname = "myDBPDO";


try{

        $ conn = new PDO("mysqli:host=$servername;dbname=$dbname;",$username,$password);


//Setze den PDO-Fehlermodus auf Ausnahme

$conn->serAttribute( PDO::Attr_errmode, PDO::Errmode_Exception); (::Vorname,:Nachname,:E-Mail)");


$stmt->bindParam(':Vorname',$Vorname);

$stmt->bindParam(':Nachname',$ Nachname);

                                                           $stmt->bindParam(':email',$email);

$email = "jhon@example.com";

  $stmt->execute();

$firstname = "Mary";

  $lastname = "Moe";

  $email = "mary.com";

                                                                                                                                                            le.com" ;

                                                                                                                                                                  $stmt->execute();                                  $stmt- >execute(); ";


" }catch(PDOException $e){

" "

$conn= null;

?>


W
W

愿能多结交志同道合的基友!哈哈哈。。。。。

Antworte allen(1)
电动小老虎

贴报错  代码  不然没法看。。

Neueste Downloads
Mehr>
Web-Effekte
Quellcode der Website
Website-Materialien
Frontend-Vorlage