Page 1 of 1

adding a dynamic value to a string

Posted: Tue Sep 25, 2007 4:17 am
by kevrelland
i want to add a dynamic value to this string instead of the test.jpg

$xmp_parsed = ee_extract_exif_from_pscs_xmp ("test.jpg",1);

from this $row_info['filename'];
how do i do it
cheers
kevin

Posted: Tue Sep 25, 2007 4:32 am
by aceconcepts
Set a variable equal to your row value

Code: Select all

$varInfo=$row_info['filename'];
Now put your new variable in place of you text

Code: Select all

$xmp_parsed = ee_extract_exif_from_pscs_xmp ($varInfo,1);
Make sure your filename isn't stored as an array though!

Posted: Tue Sep 25, 2007 4:58 am
by kevrelland
cheers
works perfectly