Buttons will not show :(

Buttons will not show :(

rjsherlockrjsherlock Posts: 1Questions: 1Answers: 0

I cant get excel, pdf, etc buttons to show.....any idea why? I copied directly from the site

echo
"
<html>
<head>
<link rel='stylesheet' type='text/css' href='//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css'/>
<link rel='stylesheet' type='text/css' href='https://cdn.datatables.net/1.10.10/css/dataTables.bootstrap.min.css'/>
</head>
<body>

"; while($row = mysqli_fetch_array($result)) { echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; } echo "
Facility Name DBNUM Account Number Last Name First Name Admission Date Discharge Date Total Charge Claim Type Claim Status Created On Latest Note Latest Note Date
" . $row['facility_name'] . "" . $row['DBNUM'] . "" . $row['account_number'] . "" . $row['last_name'] . "" . $row['first_name'] . "" . $row['admit_date'] . "" . $row['discharge_date'] . "" . $row['total_charge'] . "" . $row['claim_type'] . "" . $row['claim_status'] . "" . $row['created'] . "" . $row['last_note'] . "" . $row['last_note_date'] . "



var table = $('#example').DataTable( { buttons: [ 'copy', 'excel', 'pdf' ] } ); table.buttons().container() .appendTo( $('.col-sm-6:eq(0)', table.table().container() ) );

</body>
</html>";

This discussion has been closed.