Guest upirate Posted February 28, 2007 Share Posted February 28, 2007 I have 2 values VALUE1 AND VALUE2 How do I store and retrieve both values in an array ? thank you! Link to comment https://forums.phpfreaks.com/topic/40532-solved-ok-exteremely-easy-and-simple-question/ Share on other sites More sharing options...
itsmeArry Posted February 28, 2007 Share Posted February 28, 2007 $arrTemp = array(); $arrTemp[] = $value1; $arrTemp[] = $value2; // accessing the values echo $arrTemp[0]; echo "<br>".$arrTemp[1]; Link to comment https://forums.phpfreaks.com/topic/40532-solved-ok-exteremely-easy-and-simple-question/#findComment-196134 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.