short question, but apparently google nor php.net have no idea about this so I was curious if it is possible.
Can you get the query string of an mysqli element? I need it to make a proper error function
$mysqli = new mysqli(....);
$mysqli->query('INSERT INTO test(value) VALUES ('.rand(1,10000).');');
// here how do i find out the query of the $mysqli object WITHOUT having
// to save it before (i.e. using the actual $mysqli object)
Thanks!