2015-12-10, 06:42 AM
I am trying to add a section on someones member.php page that will query a database and then show the result. But I have no idea how to do this.
This is what I want it to say. The top row that says VIP status is what I need help with. Right now it is blank.
![[Image: 20b848aa69.png]](https://camo.mybb.com/e7e64fa115adc3d53e922fbc0fdf5bc8db06d05f/687474703a2f2f7075752e73682f6c513469552f323062383438616136392e706e67)
This is what I have atm in my member_profile template.
Can anyone help me out? I can make the php page to do the query and only show the result, I just don't now how to make it show up right there.
This is what I want it to say. The top row that says VIP status is what I need help with. Right now it is blank.
This is what I have atm in my member_profile template.
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td colspan="2" class="thead"><strong>APP Details</strong></td>
</tr>
<br>
<tr>
<td ><strong>VIP status:</strong></td>
<td >[b]No idea what to do right here[/b]!</td>
</tr>
<tr>
<td ><strong>Ban History:</strong></td>
<td ><a href="http://tf2app.com/sourcebans/index.php?p=banlist&searchText=$steamid_32&Submit=" target=\"_blank\">Search Ban History</FONT></td>
</tr>
<tr>
<td><strong>Comm Block History:</strong></td>
<td ><a href="http://tf2app.com/sourcebans/index.php?p=commslist&searchText=$steamid_32&Submit=" target=\"_blank\">Search Comm History</FONT></td>
</tr>
<tr>
<td ><strong>Hlstats:</strong></td>
<td ><a href="http://tf2app.com/hlstats/hlstats.php?mode=search&q=$steamid_32&st=uniqueid&game=" target=\"_blank\">Search HLstats</FONT></td>
</tr>
</table>
Can anyone help me out? I can make the php page to do the query and only show the result, I just don't now how to make it show up right there.