[thelist] mySQL/PHP - INSERT not working
RUST Randal
RRust at COVANSYS.com
Thu Jun 17 10:43:23 CDT 2004
Tom,
I sent a reply to the list, but I haven't seen it come through yet.
Is the action on your form set to GET or POST?
I guess if your getting values it's set to POST, but I just thought I'd
throw it out there.
----------
Randal Rust
Covansys Corp.
Columbus, OH
> -----Original Message-----
> From: thelist-bounces at lists.evolt.org
> [mailto:thelist-bounces at lists.evolt.org] On Behalf Of Tom Dell'Aringa
> Sent: Thursday, June 17, 2004 11:31 AM
> To: Johnson, Christopher (MTO); 'thelist at lists.evolt.org'
> Subject: RE: [thelist] mySQL/PHP - INSERT not working
>
>
> --- "Johnson, Christopher (MTO)"
> <Christopher.Johnson at mto.gov.on.ca> wrote:
> > Two questions:
> >
> > 1. What kind of error are you getting when you try to run
> the query?
> > This may sound like a dumb question, but how do you know that the
> > query is not running?
>
> None at all, that is the confusing part to me. I'm putting my
> post vars back into the query string as I return back to my
> page and they are there, but no error at all. Nothing in the
> DB either :/ - which is how I know its failing, the data
> doesn't show up - either in the page or the actual db table.
>
> > 2. Try this and see what is printed out.
> > $query = "INSERT INTO scouting (playerID, report) VALUES
> > ('".$pid."','".$scout."')";
>
> Tried that already (was suggested prior) didn't work. I've
> left it like that however.
>
> Tom
>
> =====
> http://www.Pixelmech.com/ - read my latest blog posting!
>
> John 3:16
>
>
>
> --
> * * Please support the community that supports you. * *
http://evolt.org/help_support_evolt/
For unsubscribe and other options, including the Tip Harvester
and archives of thelist go to: http://lists.evolt.org
Workers of the Web, evolt !
More information about the thelist
mailing list