You are here: Re: looping through text with array_key_exists function « All PHP « IT news, forums, messages
Re: looping through text with array_key_exists function

Posted by -Lost on 10/10/17 11:51

"drako" <neil@invidion.co.uk> wrote in message
news:1151534640.569186.5300@y41g2000cwy.googlegroups.com...

> $convert = array("a" => "a.jpg", "b" => "b.jpg", "c" => "c.jpg", "d" =>
> "d.jpg", "e" => "e.jpg", "f" => "f.jpg", "g" => "g.jpg", "h" =>
> "h.jpg", "i" => "i.jpg", "j" => "j.jpg", "k" => "k.jpg", "l" =>
> "l.jpg", "m" => "m.jpg", "n" => "n.jpg", "o" => "o.jpg", "p" =>
> "p.jpg", "q" => "q.jpg", "r" => "r.jpg", "s" => "s.jpg", "t" =>
> "t.jpg", "u" => "u.jpg", "v" => "v.jpg", "w" => "w.jpg", "x" =>
> "x.jpg", "y" => "y.jpg", "z" => "z.jpg", "0" => "0.jpg", "1" =>
> "1.jpg", "2" => "2.jpg", "3" => "3.jpg", "4" => "4.jpg", "5" =>
> "5.jpg", "6" => "6.jpg", "7" => "7.jpg", "8" => "8.jpg", "9" =>
> "9.jpg");

I have to get busy on something else or I would give this more attention, but...

You could always explode a string and simply append '.jpg' since obviously, everything you
have is 'everything you have.jpg'.

-Lost

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация