oobradersoo Posted January 26, 2014 Share Posted January 26, 2014 hello there people does any one know how to store a group of variables inside 1 variable. so if i had ($1, $2, $3, $4 ........) i am wanting to store them in 1 variable like so $list Link to comment https://forums.phpfreaks.com/topic/285681-variables/ Share on other sites More sharing options...
.josh Posted January 26, 2014 Share Posted January 26, 2014 Yes. It's called an array, which is what I was trying to get you to adopt in your previous thread, except you favored your less-efficient coding practices. Link to comment https://forums.phpfreaks.com/topic/285681-variables/#findComment-1466581 Share on other sites More sharing options...
ginerjm Posted January 26, 2014 Share Posted January 26, 2014 In addition - one cannot use $1,$2, etc as variable names. Link to comment https://forums.phpfreaks.com/topic/285681-variables/#findComment-1466610 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.