Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <ul class="nav nav-pills ">
- <li><a href="quote.php">Quote</a></li>
- <li><a href="buy.php">Buy</a></li>
- <li><a href="sell.php">Sell</a></li>
- <li><a href="history.php">History</a></li>
- <li><a href="logout.php"><strong>Log Out</strong></a></li>
- <li><a href="change.php">Change Password</a></li>
- </ul>
- <table class="table table-striped">
- <thead>
- <tr>
- <th>Symbol</th>
- <th>Name</th>
- <th>Shares</th>
- <th>Price</th>
- <th>TOTAL</th>
- </tr>
- </thead>
- <tbody>
- <table>
- <?php
- foreach ($positions as $position)
- {
- print("<tr>");
- print("<td>" . $position["symbol"] . "</td>");
- print("<td>" . $position["name"] . "</td>");
- print("<td>" . $position["shares"] . "</td>");
- print("<td>" . $position["price"] . "</td>");
- print("<td>" . $total . "</td>");
- print("</tr>");
- }
- ?>
- <td colspan="4">CASH</td>
- <td>
- <?php
- $cash = number_format( $cash_bal[0]['cash'],2);
- print($cash);
- ?>
- </td>
- </tbody>
- </table>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement