2016-04-10 14 views
0

Ich verstehe nicht, was ich tun muss, um es zu beheben. Es besagt, dass das assoziative Array leer ist.CS50 Pset7 Portfolio

enter image description here

enter image description here

+1

Bitte eigentlichen Code schreiben statt Screenshots. [Siehe hier] (http://meta.stackoverflow.com/a/285557/1402846) für Details. Vielen Dank. – Pang

Antwort

0

Erstellen Sie Ihre assoziatives Array wie folgt aus:

$positions["name"] => $stock["name"]; 
$positions["price"] => $stock["price"]; 
$positions["shares"] => $stock["shares"]; 
$positions["symbol"] => $stock["symbol"]; 
Verwandte Themen