Jump to content

Array problems


rockinaway

Recommended Posts

Foreach($mysql_fetch_array as $key => $value)

{

$bowler_array[‘$value’] = array (

‘overs’ => ‘0’,

‘runs’ => ‘0’,

‘wickets’ => ‘0’);

}

How can I use one array value, without using the name and then once their 10 overs are up, how can I move to the next bowler, again without using it’s array name? As I won’t know this…

 

Also how can I select the current array key I am using without referring to it by name?

 

 

Link to comment
https://forums.phpfreaks.com/topic/45239-array-problems/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.