PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I'm trying to stack some boxes. My code works, but I'm having trouble fathoming how to make the height of each box in the stack 'unique' instead of set to "10";
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
[quote="feyd"]I have no idea what you're asking.[/quote]
Maybe a fully formatted example may help:
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
feyd wrote:The logic you have copies the previous height setting to the current height. I believe losing the last line of the loop will correct this problem.
Thanks, feyd.
Indeed that was the problem. Can't believe I overlooked that.