Re: omg help...insane simple query won't work I must be blind (RESOLVED)
| From: | Terion Miller | Date: | Tue, 24 Feb 2009 20:36:25 +0000 |
| Subject: | Re: omg help...insane simple query won't work I must be blind (RESOLVED) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-288754@lists.php.net to get a copy of this message | ||
Well I was going blind .... ready for a good laugh
it was that the form was posting to the original page not the test page I
was working with...um..DOH!!
all things working now :)
Thanks
Terion
Happy Freecycling
Free the List !!
www.freecycle.org
Over Moderation of Freecycle List Prevents Post Timeliness.
------------------------------------------------
Twitter?
http://twitter.com/terionmiller
------------------------------------------------
Facebook:
<a href="http://www.facebook.com/people/Terion-Miller/1542024891"
title="Terion Miller's Facebook profile" target=_TOP><img src="
http://badge.facebook.com/badge/1542024891.237.919247960.png"
border=0
alt="Terion Miller's Facebook profile"></a>
Henny Youngman - "When I told my doctor I couldn't afford an operation, he
offered to touch-up my X-rays."
On Tue, Feb 24, 2009 at 2:08 PM, Daniel Brown <danbrown@php.net> wrote:
> On Tue, Feb 24, 2009 at 14:55, Terion Miller <webdev.terion@gmail.com>
> wrote:
> >
> > And yes yes I know escape my strings ...I'll go back and do that when the
> > stupid insert is actually working...
>
> I'd suggest that it's probably the reason your insert isn't
> working. Add your mysql_real_escape_string() stuff there, and then
> change your error bit to:
>
> <?php
> // ....
> mysql_query($query) or die("SQL: ".$query."<br />\nError:
> ".mysql_error());
> // ....
> ?>
>
> --
> </Daniel P. Brown>
> daniel.brown@parasane.net || danbrown@php.net
> http://www.parasane.net/ ||
> http://www.pilotpig.net/
> Unadvertised dedicated server deals, too low to print - email me to find
> out!
>