Welcome Guest, Not a member yet? Register   Sign In
variables in if statement
#4

[eluser]PhilTem[/eluser]
Ah man, as I was just writing another possible solution, I most likely found your problem

Try:
Code:
<?php  if( $img->{'image' . $i} != 'nopic.jpg' ): ?>

Gonna give you a beer if it's still not the solution Wink


Messages In This Thread
variables in if statement - by El Forum - 06-12-2012, 09:05 AM
variables in if statement - by El Forum - 06-12-2012, 09:20 AM
variables in if statement - by El Forum - 06-12-2012, 10:12 AM
variables in if statement - by El Forum - 06-12-2012, 10:31 AM



Theme © iAndrew 2016 - Forum software by © MyBB