You are here: Re: does PHP read left to right or right to left? « PHP Programming Language « IT news, forums, messages
Re: does PHP read left to right or right to left?

Posted by Toby Inkster on 05/22/06 09:17

lawrence k wrote:

> I've two functions. currentHeadline looks in $_GET for a variable
> called 'image' and prints what it finds. showThumbnail takes an image
> for a parameter and resizes it before sending it to the screen. But
> when I do this:
>
> <?php showThumbnail(currentImage(), 20, 20); ?>

currentImage() will execute before showThumbnail().

When you say "prints what it finds", do you really mean "returns what it
finds"? If you're not 100% sure of what the difference between these two
phrases is, then post the source code for currentImage().

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

 

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

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