New to PHP-
If I have PHP getting a picture name from a form:
$pic=($_FILES['photo']['name']);
and I want to reference that field dynamically later in the file (sample_name.jpg):
$resizeObj = new resize('images/sample_name.jpg');
What is the proper formating?
Using $resizeObj = new resize('images/'$pic''); gives me a syntax error.
You may use
.means string concatenation