Ask about general coding issues or problems here.
2 posts • Page 1 of 1
- New php-forum User
- Posts: 164
- Joined: Tue Aug 27, 2002 8:25 pm
- Location: Ontario, Canada
If your asking for what I think your asking forum, search or just read through these forums because I answered this question VERY recently.
Terra Design, my business and sole / huge PHP project... a fully dynamic and adaptive site engine.
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: AdamRinkleff, Google [Bot] and 6 guests