Perad Posted February 1, 2008 Share Posted February 1, 2008 $blah = array ('blah' => 'blah'); How do I add another entry to this array? Link to comment https://forums.phpfreaks.com/topic/88914-array-question/ Share on other sites More sharing options...
phpSensei Posted February 1, 2008 Share Posted February 1, 2008 with a "," comma. Link to comment https://forums.phpfreaks.com/topic/88914-array-question/#findComment-455428 Share on other sites More sharing options...
Perad Posted February 1, 2008 Author Share Posted February 1, 2008 Sorry for being unclear, I mean, later on in the script how would I add another value? Link to comment https://forums.phpfreaks.com/topic/88914-array-question/#findComment-455475 Share on other sites More sharing options...
rhodesa Posted February 1, 2008 Share Posted February 1, 2008 <?php $blah = array ('blah' => 'blah'); ..... $blah['foo'] = 'bar'; ?> Link to comment https://forums.phpfreaks.com/topic/88914-array-question/#findComment-455478 Share on other sites More sharing options...
kenrbnsn Posted February 1, 2008 Share Posted February 1, 2008 <?php $blah['duh'] = 'duh'; ?> Ken Link to comment https://forums.phpfreaks.com/topic/88914-array-question/#findComment-455479 Share on other sites More sharing options...
rhodesa Posted February 1, 2008 Share Posted February 1, 2008 Learn ALL about arrays here: http://us.php.net/types.array Link to comment https://forums.phpfreaks.com/topic/88914-array-question/#findComment-455485 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.