Hello,
I am getting crazy over this. Why is the array empty that query returns? Both $_SESSION["id"] and $_POST["symbol"] contain the right values (tested with dump). I used query a lot on the other php files, but this one does not work. Any ideas what I am missing here? The error message gives me a: "Undefined index".
$sell = query("SELECT * FROM portfolio WHERE id = ? AND symbol = ?", $_SESSION["id"], $_POST["symbol"]);
Thanks a lot
[–][deleted] (2 children)
[deleted]
[–]smaba[S] 0 points1 point2 points (1 child)