Perad Posted October 22, 2007 Share Posted October 22, 2007 Basically I want the below to work but it isn't. How do I get this going? $this->datadisplay[] = $val => $tval; Link to comment https://forums.phpfreaks.com/topic/74326-solved-arrays-setting-key-and-value/ Share on other sites More sharing options...
Daniel0 Posted October 22, 2007 Share Posted October 22, 2007 $this->datadisplay[$val] = $tval; Link to comment https://forums.phpfreaks.com/topic/74326-solved-arrays-setting-key-and-value/#findComment-375528 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.