CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 Show only part of filename

Print topic Send  topic

Author Message
Markie


Posts: 251
Posted: 12/14/2008, 7:12 AM

I have a database table with filename records. Every filename is like this:

mark.1229260317.bootje.jpg

In other words, it consists of:
"username"."unixtime"."original filename"

On my page, I would like to show the original filename (for example in a label). Is it possible to filter the "username"."unixtime" from the "original filename" and show only the last part ("original filename") ?

for example, the label displays "bootje.jpg"
_________________
The Netherlands, GMT+1
Tools: CCS 5.1, Windows 7, Navicat, Ultraedit
Local server: XAMPP with Apache, php and MySQL
Webserver: Windows 2008 IIS 7, php and MySQL
View profile  Send private message
datadoit
Posted: 12/14/2008, 3:10 PM

http://us3.php.net/explode

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.