> I have this which inserts a stock trade entry:
>
> $sql1 = "INSERT INTO $table_name
> (stock, shares, LorS, type, price1, time1) VALUES
> (\"$stock\", \"$shares\", \"$LorS\", \"$type\", \"$price1\", NOW())";
>
> With price1 being the entry price and time1 the date/time of entry.
> Then when I ex
I have this which inserts a stock trade entry:
$sql1 = "INSERT INTO $table_name
(stock, shares, LorS, type, price1, time1) VALUES
(\"$stock\", \"$shares\", \"$LorS\", \"$type\", \"$price1\", NOW())";
With price1 being the entry price and time1 the date/time of entry.
Then when I exit the trade