[thelist] MySQL database optimis(z)ation

Joshua Olson joshua at alphashop.net
Mon Feb 4 09:07:01 CST 2002

----- Original Message -----
From: "rudy" <r937 at interlog.com>
Subject: Re: [thelist] MySQL database optimis(z)ation

> i don't mean to make light of this, but the only issue i can see at the
> moment is understandability, because from the table layouts you've
> provided, it's hard to see how it works (i *think* i finally got it)

Sorry everybody, that email probably should've gone directly to Rudy, not to
the list.

<tip type="HTML" author="Joshua Olson">
Always quote the attributes of tags in your HTML.  Even if you are
generating the HTML server side with Response.Write (ASP), still find a way
to make the resulting HTML quote the tag attributes.  Your mama will love
you for it.  :)

No, seriously though, you'll see the benefit when programming dynamic HTML
that allows the user to provide information for the ALT, TITLE, ETC
attributes.  The user will invariably enter a two word statement, on with an
apostrophe, etc.  Quoting your attributes will help in both cases.  If you
think they may put a quote into their string, make sure the resulting HTML
is correct.

More information about the thelist mailing list