Hi, im using gesior 1.0.1 and I have some problems with adding querys to the java script.. Is it posible to use AJAX or jquery to get this to get the info from the database?
And the java code itself
Please dont say try searching becouse ive tried searching on google and on the forum, without results.
Regards WibbenZ
Code:
<?PHP
$guilds = $SQL->query('SELECT COUNT(*) FROM `guilds` WHERE `id`>0;')->fetch();
?>
And the java code itself
Code:
['guilds','There are a total of <b><?PHP '.$guilds[0].' ?></b> guilds made.','_self'],
Please dont say try searching becouse ive tried searching on google and on the forum, without results.
Regards WibbenZ