I'm new to Web development programming , and i'm trying to insert a PHP variable into a HTML table with divs, but it's showing me blank
<div class="panel-body">
<div class="table-responsive">
<table class="table table-striped table-bordered table-hover" id="dataTables-example">
<thead>
<tr>
<th>sdads</th>
<th>Browser</th>
<th>Platform(s)</th>
<th>Engine version</th>
<th>CSS grade</th>
</tr>
</thead>
That's not the full code.
If i wanted to put a PHP variable where <th>sdads</th>
is, how i could do that?
I tried this: <th><?php echo $test; ?></th>
, but it didn't work (the variable is declared on the start of the code by $test="test";