Reply to Re: does PHP read left to right or right to left?

Your name:

Reply:


Posted by lawrence k on 05/22/06 08:18

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); ?>
>
> showThumbnail is telling me that it is not being given a file name, and
> currentImage is printing the file name to the screen. How is that
> possible? What is the right way to do this?

Nevermind, I'm an idiot. currentImage was echoing its result to the
screen instead of returning it.

[Back to original 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

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