On Fri, 1 Oct 2004 11:32:29 +1000, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> No, still no idea :)
> $sql = "INSERT INTO aec SET date='$date', title='$title',
> ident='$ident', id='$id'";
> mysql_query($sql);

I feel good today :) so, 

$sql = "INSERT INTO aec SET date='$date', title='$title',
ident='" . mysql_real_escape_string($ident) . "', id='$id'";

(After it works and everything is crystal clear, you might want to try
validating the title, ident and id BEFORE using it in the query. )

HTH!


----

ramil
http://ramil.sagum.net

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

Reply via email to