Posted by stiki on 09/04/07 06:02
On Sep 3, 4:15 am, Erwin Moller
<Since_humans_read_this_I_am_spammed_too_m...@spamyourself.com> wrote:
> ELINTPimp wrote:
> >> // First run ONLY - need to create table by uncommenting this
> >> // Or with silent @ we can let it fail every sunsequent time ;-)
>
> >> $q = <<<CREATE
> >> create table pix (
> >> pid int primary key not null auto_increment,
> >> title text,
> >> imgdata longblob)
> >> CREATE;
> >> @mysql_query($q);
>
> > This makes babies cry.
Can someone give an example of why this is bad programming practice?
Is it because he is storing the image in the database?
it
[Back to original message]
|