skip to main
|
skip to sidebar
Web Development with PHP
Apr 28, 2011
How to split data in php
You can use the explode function to split data in PHP.
$url = "http://www.domain.com/images.jpg";
$data = explode("/", $url);
$var = $data[count($data) - 1];
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Blog Archive
▼
2011
(7)
►
July
(1)
►
May
(2)
▼
April
(3)
How to split data in php
Adding a dynamic navigation bar
Adding an editable grid
►
January
(1)
►
2010
(6)
►
August
(1)
►
May
(1)
►
April
(1)
►
March
(1)
►
February
(1)
►
January
(1)
No comments:
Post a Comment