Heres what I'm trying to do:

$data=addslashes(fread(fopen($form_data, "rb"), filesize($form_data)));

//some lines of code edited out 

$result = mysql_query ("
UPDATE bands, binary_data 
SET genreid='$genre', bandname='$name', bandesc='$description',
bandurl='$url', bandemail='$email', bin_data='$data',
filename='$form_data_name', filesize= '$form_data_size',
WHERE bandname='$name' AND bands.bin_id=binary_data.bin_id

Thanks all you smart people.


Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger

PHP Database Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to