Skip to main content
8 events
when toggle format what by license comment
Sep 9, 2014 at 4:03 vote accept Juan Carlos Piñeros
Sep 9, 2014 at 4:03 answer added Juan Carlos Piñeros timeline score: 0
Sep 9, 2014 at 3:45 comment added kzidane Maybe you should answer your own question and accept the answer!
Sep 9, 2014 at 3:10 comment added Juan Carlos Piñeros Maybe it would be against the rules to post code. But thank you, I just found the problem... I was using an array so I had to call the function "implode" and now it's working. Should I close the question? Post my own answer?
Sep 9, 2014 at 2:55 comment added kzidane I mean what's the exact statement(s) that you're executing for that purpose?
Sep 9, 2014 at 2:27 comment added Juan Carlos Piñeros @Kareem I have a sell-form where the user enters the stocks he/she wants to sell. I save this information in a variable ($stocksToSell) and then I pass it to index.php. In index.php I used "query" to retrieve the number of shares the user has for each stock and "lockup" to get the prices. I multiply price times shares and use this information to UPDATE user's cash.
Sep 6, 2014 at 8:47 comment added kzidane How does your query look like and how do you access the data you retrieved?
Sep 6, 2014 at 3:09 history asked Juan Carlos Piñeros CC BY-SA 3.0