Posts by Raphael Shembek • 49 points
7 posts
-
1
votes2
answers70
viewsQ: Challenge create menu with ajax() request
json product.json file { "produto":[ {"categoria": "#home", "nome": "home"}, {"categoria": "#fotos", "nome": "fotos"}, {"categoria": "#contato", "nome": "contato"}, {"categoria": "#perfil", "nome":…
-
-2
votes2
answers116
viewsQ: Problem to send values of type 11.50 to SQL Server database
I have a problem formatting values type R$ when sending to the data bank 11.50 in the data bank is type 1150. This condition is from the send button to the database has a database management class…
-
0
votes2
answers168
viewsQ: PROBLEM WITH AJAX JSON
IMG_TROCAR.PHP file code <?php include_once('config/config.php'); $ligacao = new PDO("mysql:dbname=$baseDado;host=$host", $user, $pass); $id = $_POST['id_user']; $mudarAvatar =…
-
1
votes1
answer40
viewsQ: Help to query a single database user’s information with JSON
This is the code that works with the img.php file function loadContato(){ var location = $('.result_File'); var item = ""; $.getJSON("img.php", function(dado){ item += '<p>' + dado[0].username…
-
0
votes2
answers119
viewsQ: Query sql SELECT
Which command select shows me only those comments from a single user? For example: I have a table Post where it stores the comments of each user (usuario_1, usuario_2, usuario_3), but would like to…
sqlasked Raphael Shembek 49 -
0
votes0
answers28
viewsQ: How do I send a message without having to refresh the page?
If you have any questions, I’m available. //obtem as informações do banco de dado com o methodo json_encode() php consulta.php //===================================================== function…
-
1
votes1
answer153
viewsQ: I’m having a code problem in the json request generated from php
php query file. <?php //header("Content-Type: application/json; charset-utf8"); header('Content-Type:' . "text/plain"); $baseDado = "teste"; $host = "localhost"; $user = "rafael"; $password =…