Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- lawrence k
May 22, 2006, 4:11 am
rate this thread
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?
Re: does PHP read left to right or right to left?
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