Overlord
-
Posts
6 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by Overlord
-
-
Thank doch and sandbox!through a SQL code I want to put on my web page the amount of cash that the player on the site has logged understand?your code:SELECT value FROM acc_reg_num_db WHERE KEY = '# CashPoints' AND account_id = xxxin "account_id" should be the player logged into the site, how do this?sry for my english.
-
Yes sandbox, thank for u help, but...
Need a especific code to show the VALUE in KEY '@CASHPOINTS' in MY ACCOUNT page.
It is first necessary that the code only show the VALUE of the logged ACCOUNT_ID in the website.
ex result:
CASH POINTS: 9999
-
Hello!
I have FluxCP on my server, and, need help to edit "donation page":
"Credit Balance"
Replace it for "Cash Points".
I Found in my mysql database this table:
"acc_reg_num_db".
Need a MYSQL sintax, to SHOW "value" in "acc_reg_num_db".
Cash Points: "value"
understand?
help with this code:
<?php // definições de host, database, usuário e senha $host = "localhost"; $db = "ragnarok"; $user = "xxxxxxxx"; $pass = "xxxxxxxx"; $con = mysql_pconnect($host, $user, $pass) or trigger_error(mysql_error(),E_USER_ERROR); mysql_select_db($db, $con); $query = sprintf("SELECT accont_id, key, value FROM acc_reg_num_db"); $dados = mysql_query($query, $con) or die(mysql_error()); $value = mysql_fetch_assoc($dados); $total = mysql_num_rows($dados); ?> <?php
I make this code, but, show this error in my page:
Cash points: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'key, value FROM acc_reg_num_db' at line 1
Tanks to support, sorry for my english.Português Brasil
Galera, to com um problema em um código MYSQL que fiz.O código seria para mostrar a quantidade de cash que existe em determinada conta.
achei a tabela "acc_reg_num_db" que diz a quantidade de cash que tem em cada conta.
Mais o código que eu fiz não ta funcionando, como faço pra poder mostrar a quantidade no meu site?
Sendo que tenho que primeiro selecionar o "account_id" do usuário e mostrar sómente o value em que o KEY for "#cashpoints".
Na tabela acc_red_num_db está assim:
ACCOUNT_ID KEY index VALUE2000001 #TimeOn 0 5000
2000001 #CASHPOINTS 0 5000
agradeço ai quem puder ajudar!
-
Olá a todos.
Adicionei o addon perfeitamente ao meu fluxcp.
Consigo adicionar o site para votar, editar, deletar, etc.
Porém, após adicionado o site, quando clico para votar...
No redirecionamento em nova aba o fluxcp edita o link do meu voto, fazendo com que o link não funcione.
LINK Editado: topragnarok.com.br/index.php?s=vote&id=00000/
LINK correto: topragnarok.com.br/index.php?s=vote&id=00000/
Como podem ver ele adiciona amp; no meio do link.
Obs: "Ele adiciona corretamente o link à tabela mysql".
Abaixo uma foto do erro que aparece após o redirecionamento incorreto em nova aba.
Me ajudem por favor!
Agradeço.
-
Please, how install PSD themes in FluxCP? Please...
[Resolvido] AJUDA COM ESTE PHP!
in Suporte ao Cliente
Posted
'Quantidade de Cash: xxxxxx'
Oque eu preciso?
1. De uma query que verifique qual o ACCOUNT_ID logado no site
2. Em seguida, a query deverá ler APENAS a KEY que contenha #CASHPOINTS na tabela acc_red_num_db
3. E em seguida mostre o seu VALUE.
QUEM PUDER AJUDAR AGRADEÇO, SOU NOVO COM ISSO, ATÉ ENTENDO UM POUCO MAIS ESTOU TOMANDO UMA SURRA.
OBRIGADO!