Ask about general coding issues or problems here.
2 posts • Page 1 of 1
If you know that it is always going to be a jpg and all you want to do is remove the .jpg at the end you can use the str_replace() command
Code: Select all
$picFile = str_replace('.jpg','',$row2['picFile']);
Who is online
Users browsing this forum: No registered users and 4 guests