Re: clean data
| From: | Micah Gersten | Date: | Tue, 28 Oct 2008 01:53:13 +0000 |
| Subject: | Re: clean data | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-282524@lists.php.net to get a copy of this message | ||
In that case, I suggest you look to the MySQL lists for tips on handling
data coming in.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
blackwater dev wrote:
> Yes, I agree but the code I am inheriting doesn't use abstraction
> unfortunately.
>
> On Mon, Oct 27, 2008 at 9:38 PM, Micah Gersten <micah@onshore.com
> <mailto:micah@onshore.com>> wrote:
>
> Are you using MySQL abstraction? That's the easiest way to
> control what
> data goes into your DB in a central place.
>
> Thank you,
> Micah Gersten <http://www.onshore.com>
>
>
>
> blackwater dev wrote:
> > I have a project now where we would like to properly remove
> unwanted data
> > before it goes into the db such as ` and of course slashes. The
> problem is
> > I have tons of pages. Is there an easy way to add in a clean up
> routine on
> > the db side to clean it going in and coming out without having
> to touch each
> > page that inserts it into the db and each page that presents it?
> >
> > I'm using a MySQL db.
> >
> >
> > Thanks!
> >
> >
>
>