I'm new at this and i'm sure that this has been answered before, but
anyway...
I am trying to retrieve images from a MySQL database. They are stored as
BLOBs with the following table format:
Database metonym_metonym - table imgs
Field TypeAttributes NullDefault Extra
fk_proj_id
I have an upload field on a form that is optional for the user. Hence,
they may post an image or not. If not, a default image is assigned. Here
is my logic and the corresponding error:
/*$imgupload is the file field on the form*/
if(!$imgupload){
$imglink=$imgpath.$defaultimg; //