Hello John On 10/11/2002, you wrote:
> > Here's some example code from PHP > > if (strlen(trim($strPicture)) > 0 && strlen(trim($strPicFieldName)) > 0) { > $fp = fopen($strPicture,"rb"); > $bArray = fread($fp,$strFileSize); > fclose($fp); > $strQuery = "UPDATE " . $tableName . " SET " . $strPicFieldName . "=\"" . > addslashes($bArray) . "\" WHERE " . $priKeyName . "=" . $iPriID; > > mysql_query($strQuery,$conn) or die(mysql_error()); Never thought to get any answer so fast :) Thank you. Regards -- --- Jean-Yves Besserer Dial / Taskers Art Designers http://Taskers.ovh.org Dial on IRCnet #amigafr, #artbas, #bigboss ICQ #51667972 --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php