Re: omg help...insane simple query won't work I must be blind

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Feb 24, 2009 at 14:55, Terion Miller <webdev.terion@xxxxxxxxx> 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@xxxxxxxxxxxx || danbrown@xxxxxxx
http://www.parasane.net/ || http://www.pilotpig.net/
Unadvertised dedicated server deals, too low to print - email me to find out!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux