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

[eluser]brian88[/eluser]
thanks. but no luck. the error i get is...

Use of undefined constant image - assumed 'image'

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


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