Reply to Re: Mysql - Database

Re: Mysql - Database new!
by colin, 16 years, 9 months ago
Mmmh, like this, no?

$handle->Process('./fotos_galeria/');
if ($handle->processed) {
  // everything was fine !
  echo ' file uploaded with success';
  echo round(filesize($handle->file_dst_pathname)/256)/4 . 'KB';
  echo '  link to the file just uploaded: file_dst_name';
  $x = mysql_query("INSERT INTO foto_galeria (id_galeria, foto, comentario) VALUES ('$id_galeria', '".$handle->file_dst_name."', '$comentario')");
}
Reply

Your reply

Name *
Email 
Title *
Text *
CAPTCHA image
Enter the code displayed on the image:
Click on the image to generate another one if it is hard to read it. The case is important