don't understand your question at all what u mean
(2018-04-25, 11:40 AM)berilslv Wrote: [ -> ]Thanks for plugin, it works great!
But still i have a question: what i have to add in .php to show eth /zcash etc. values too?
Thanks alot !
don't understand your question unless u are tallking zcash from table name
(2018-04-25, 11:58 AM)rocket Wrote: [ -> ]don't understand your question at all what u mean
(2018-04-25, 11:40 AM)berilslv Wrote: [ -> ]Thanks for plugin, it works great!
But still i have a question: what i have to add in .php to show eth /zcash etc. values too?
Thanks alot !
don't understand your question unless u are tallking zcash from table name
think i understand u now your sql query
should look like this if i have correct tables and columns
SELECT
username
,
zcash
FROM
mybb_users
zcash WHERE usergroup=4
note i am listing username and zcash value only
php source
<!DOCTYPE html>
<html>
<head>
<style>
body {
position:absolute;
height:1200px;
color: #dfe5ec;
background-color: rgba(35, 35, 35, 0.60);
</style>
</head>
<body>
<?php
$servername = "localhost";
$username = "from inc/config.php";
$password = "from inc/config.php";
$dbname = "from inc/config.php";
// Create connection
$conn = new mysqli($servername, $username, $password, $dbname);
// Check connection
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
$sql = "SELECT
username
,
zcash
FROM
mybb_users
zcash WHERE usergroup=4";
$result = $conn->query($sql);
if ($result->num_rows > 0) {
echo "banned users: ";
// output data of each row
while($row = $result->fetch_assoc()) {
echo "<font color=red size=4><br>" . $row["username"]." " . $row["zcash"]. "<br></font>";
}
} else {
echo "0 results";
}
$conn->close();
?>
</body>
</html>