igorlabanca
New Member
- Joined
- Aug 15, 2010
- Messages
- 36
- Reaction score
- 3
Script:
I can not show the nomeguild table, it shows this Recoverable fatal error: Object of class PDOStatement could not be converted to string in.
PHP:
$castle = $SQL->query("SELECT `nomeguild` FROM `gh` WHERE `nome` = 1");
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><i class="fa fa-line-chart"></i> Guild from GH</h3>
</div>
<div class="panel-body">
<table class="table table-condensed table-content table-striped">
<tbody>
<?php echo $castle; ?>
</tbody>
</table>
</div>
</div>
I can not show the nomeguild table, it shows this Recoverable fatal error: Object of class PDOStatement could not be converted to string in.
Last edited: