Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="card-body">
- <h5 class="card-title m-b-40" >Company Name</h5>
- <h6 style='font-weight: bold;'>Company Overview</h6>
- <h6>Annual Revenue: 2,000,000,000</h6>
- <h6>Employees: 150,000</h6>
- <h6>Industry: xxx</h6>
- <h6>Inherent Risk Industry: xxx</h6>
- </div>
- <?php
- $servername = "xxx";
- $username = "xxx";
- $password = "xxx";
- $dbname = "xxx";
- $id = intval($_GET['id']); //casting to int type!
- // Create connection
- $conn = new mysqli($servername, $username, $password, $dbname);
- // Check connection
- if ($conn->connect_error) {
- die("Connection failed: " . $conn->connect_error);
- }else{
- echo '<script>console.log("Connection successful!")</script>';
- }
- $SELECT2 = mysqli_query($conn,"SELECT * FROM `organization` WHERE organizationId=$id");
- if($SELECT2 != false)
- {
- while($rows2 = mysqli_fetch_array($SELECT2)){
- }
- }else{
- echo "
- <tr>
- <td colspan='3'>Something went wrong with the query</td>
- </tr>
- ";
- }
- <?php
Add Comment
Please, Sign In to add comment