Jump to content

$a->value.$count


Obi1-Cannabis

Recommended Posts

is it possible to have a object property where the name of the property contais a variable?i don't know if i waas explicit i'll show some code to see if you get the idea:

while($image==null){$num = rand(1,6);$image=$row->foto($num);}

or something that makes this possible...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...