» a PHP class to Create, Read, Update, & Delete from a mysql database table using AJAXby loud canvas media
AjaxCRUD Class Documentation / Reference Material
<< Reference overview
append the value of the row to the beginning of the filename
void appendUploadFilename ( String fieldName )
Use this function to prevent easily "overwriting" filenames on upload. You can have each filename easily be unique by attaching the primary key (or some other field) to the filename.
$tblDemo->setFileUpload("fldFilename", "uploads/", "uploads/");