Hello
I use the prepare/execute combo to generate SQL statements. Is it
possible to actually see what PDO creates with prepare()?
=======
$sql = "INSERT INTO mytable (id, label) VALUES (NULL,?)";
$insert = $dbh->prepare($sql );
//Display SQL before running it
$insert->execute(array( $argv[1]));
=======
Thank you.
I use the prepare/execute combo to generate SQL statements. Is it
possible to actually see what PDO creates with prepare()?
=======
$sql = "INSERT INTO mytable (id, label) VALUES (NULL,?)";
$insert = $dbh->prepare($sql );
//Display SQL before running it
$insert->execute(array( $argv[1]));
=======
Thank you.
Comment