I was reading this answer when I noticed that the font for the user information block was wrong. Checking the original source of the page, I found this (formatted just for you):
<!-- Suspect code starts here -->
<p>Regarding returning auto-generated keys, I wouldn't bother. Notice that if you use plain SQL (in the mysql CLI for example), and you insert multiple rows in a single INSERT statement, you can only get the last generated id value, not the id values for all rows inserted. This is SQL behavior; it's true for any language or any framework.</p>
<pre>
<code>
INSERT INTO t (col1, col2, col3) VALUES (1, 2, 3), (4, 5, 6), (7, 8, 9);
SELECT LAST_INSER
</div> <!-- **** Bad! **** -->
<!-- Suspect code ends here -->
<!-- Below are the post links (link, edit, flag) and the user information block -->
<table class="fw">
As you can see, the div
element that I have marked closed off the post body div
without first closing off the code
or pre
tag.
But, that's not all. Checking the original source of the answer (via the edit link), it would seem that Stack Overflow chopped off the final portion of markus' answer, including some of the code in the final code block.
If had to make a guess, I'd say that it would be the double dashes (--
) in markus' code block. But, I don't think I should be editing his answer just to find out.