1) \begin{ttfamily}\verb 'OR'1'='1 \end{ttfamily}
2) \begin{ttfamily}\verb SELECT userid FROM CMSUsers WHERE user = 'foo' AND password = 'bar'; \end{ttfamily}
I'd like to have the accents like the ones I get in 1) also in 2)
I'm wondering, the code is the same but the results are different.
Can someone tell me why?

ttfamilyenvironment. 2. Use delimiters for the\verbmacro:\verb|'OR'1'='1|and\verb|SELECT userid FROM CMSUsers WHERE user = 'foo' AND password = 'bar';|. 3. In these cases you could just use\texttt. – Qrrbrbirlbel Jan 5 at 11:19