No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hello brows,I'd like a little help. I'm making a web online game,then in the Map system. I need get coords of players that is around. Get in Database something like that: [CODE] <?php $result = mysql_query("select * from mapa where x_coord > '5' AND x_coord < '10'"); while($row = mysql_fetch_array($result)) … |
|
Hello everyone,I need a help to back values from php to javascript... Listen: [CODE] __hasInventory = true; _iMatrix = []; $.ajax({ url: 'index.php?acao=test', dataType: 'script', type: 'post', data: {mode: 0}, success: function () {[/CODE] If is all Ok with post method,I'd like it back with results passing PHP results to … |
|
[CODE]<?php $login = $_POST['login']; $nickname = $_POST['nickname']; $senha = $_POST['senha']; $email = $_POST['email']; $conexao = mysql_pconnect("localhost","rodrigue_incub","xxx24df") or die (mysql_error()); $banco = mysql_select_db("rodrigue_incubadora"); //Utilizando o mysql_real_escape_string voce se protege o seu codigo contra SQL Injection. $login = mysql_real_escape_string($login); $nickname = mysql_real_escape_string($nickname); $senha = mysql_real_escape_string($senha); $email = mysql_real_escape_string($email); $consulta = mysql_query("SELECT * … |