I am trying to insert an image in one folder, but I guess i am not doing it correctly, can someone correct my code?
//Place the image in the folder
$newname = "$menu_name-01.jpg";
move_uploaded_file($_FILES['fileField']['tmp_name'],"/product_images/$brand/$newname");
Where,
$menu_name = trim(mysql_prep($_POST['menu_name']));
$brand = trim(mysql_prep($_POST['brand']));