Skip to main content
1 vote

PSET7: Extracting strings from queries with PHP

You have answered yourself: Is it because the rows themselves are associative arrays, and so I can never actually extract a single value? If that's the case, how would I just pass one variable ...
Yuri Laguardia's user avatar
1 vote

illegal string offset error in portfolio

Each time you do this $positions[] = ["price" =>number_format($positions["price"],2,'.',',')]; there is a row added to the $positions array that does not have "name", "shares" or "symbol". Ditto ...
DinoCoderSaurus's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible