--_27aa8c39-0cf4-4d69-8881-b20e3f20a142_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
How I get off this mailing list?I tried the link at the bottom of the
messa=
ge, (many times) but it doesnt seem to work.Please let me know> Date: Thu,
=
28 Jun 2007 10:58:19 -0400> From: sdavis2@[EMAIL PROTECTED]
> To:
shadkeene@[EMAIL PROTECTED]
beginners-cgi@[EMAIL PROTECTED]
> Subject: Re: pu****ng web form params into
m=
ysql table> > Shad Keene wrote:> > Sean,> > > > Thanks...I got it to work.
=
It turned out that I didn't have default> > values for the other columns
s=
o it wouldn't enter one column into the> > database w/o default values for
=
the others. Until I put the "die-error"> > message after the "execute", I
=
didn't know why it wasn't working,> > Glad to hear it is working for you.>
=
> In general, you probably want to spend some time learning about the>
deta=
ils of debugging DBI code. Once you are comfortable with it, it> often
mak=
es some sense to make some subroutines that perform inserts,> deletes,
upda=
tes, and selects and wrap everything in the appropriate> error handling.
A=
lternatively, there are a number of higher-level> interfaces (like
DBIx::Si=
mple) that have it built-in.> > Sean> > > >
---------------------------=
---------------------------------------------> > From: /Sean Davis
<sda=
vis2@[EMAIL PROTECTED]
>/> > To: /Shad Keene <shadkeene@[EMAIL PROTECTED]
>/> >
=
Subject: /Re: pu****ng web form params into mysql table/> > Date: /Tue,
=
26 Jun 2007 21:06:47 -0400/> > >Shad Keene wrote:> > >>> >
>>Se=
an,> > >>> > >>Thanks very much for the advice...I read through
the=
do***entation> > >>and feel like I have most if not all of the code
co=
rrect. The> > >>script is returning the correct passed param, but the
r=
ow in which> > >>I'd like to input the param isn't being
populated...no=
rows are> > >>being affected when I use the "select * from
regimetest"=
....it says> > >>empty set. Any thoughts?> > >>> > >See here
as =
a place to go next:> > >> >
>http://search.cpan.org/~timb/DBI-1.58/=
DBI.pm#RaiseError_(boolean,_inherited)> > >> > >Sean> > > > > >
---=
---------------------------------------------------------------------> >
Pi=
cture this =96 share your photos and you could win big!> >
<http://g.msn.co=
m/8HMAENUS/2740??PS=3D47575>> > -- > To unsubscribe, e-mail:
beginners-cgi-=
unsubscribe@[EMAIL PROTECTED]
> For additional commands, e-mail:
beginners-cgi-help@[EMAIL PROTECTED]
> http://learn.perl.org/>
>=20
_________________________________________________________________
Discover the new Windows Vista
http://search.msn.com/results.aspx?q=3Dwindows+vista&mkt=3Den-US&form=3DQBR=
E=
--_27aa8c39-0cf4-4d69-8881-b20e3f20a142_--


|