This is probably a silly question, but I searched the forum for an answer to this, but didn't find anything that really answers it. How can I make certain mysqli_real_escape_string() is doing what it is supposed to be doing? What string could I put in the $_GET['test'] var below to see a different result from the first print_r() to the second print_r() ?
I've always just trusted that it worked as it was supposed to, and I'm thinking that may not be such a good idea.
$_GET['test'] = "Some String";
print_r($_GET['test']);
mysqli_real_escape_string($dbc, $_GET['test']);
print_r($_GET['test']);