php - prepared Query strings -


this question has answer here:

is there function return prepared query string after processing parameters.

$stmt = $conn->prepare("select full_name user_info user_id = ?"); $stmt->bind_param("s", $user_id); 

can see final query string execute?

if driver capable of using prepared statements, if doesn't require emulation, final query executed is prepared statement.

if want find out executed, need turn on general query log on server. can very, noisy , fill disk on busy server.


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -