Hi guys,
Im trying to search a string for the last forwardslash and remove everything after and including the forward slash.
for example my string '/ggfx/modify/89/97/bee.jpeg/121498954583267'
i want to be left with /ggfx/modify/89/97/bee.jpeg
any help will be greatly appreciated.
Search found 2 matches
- Wed Jul 02, 2008 6:34 am
- Forum: PHP - Code
- Topic: string manipulation help
- Replies: 4
- Views: 199
- Fri Jun 13, 2008 4:38 am
- Forum: PHP - Code
- Topic: PHP character encoding help
- Replies: 2
- Views: 173
PHP character encoding help
Hi guys, I have a text area which i populate with some data save it to the database. The problem is if i put 570£ when i use the pound symbol it inserts strange characters into the databse. Anyone know why this would be happening as I am using iso-8859-1 as my forms charset and in the database itsse...