Clearly, you want this secure... so don't code it yourself.

The point of mysql is to use php (and other languages) to get the data then display, yes, as html.


however, in this case, you'd...