Posts by Eduardo Ribeiro • 23 points
7 posts
-
0
votes1
answer60
viewsQ: Return multiple elements by ajax
My question is this, I have a table on MySQL with id, pesquisa and data. I want to give a select in this table on php and return by ajax so that I can insert each element into a td specific within a…
-
0
votes1
answer577
viewsQ: Return PHP Error to Ajax
I’m making a Insert field input in the database using ajax and PHP. In the code below I am returning to the ajax a success message if all goes well, but how do I return a message if there is an…
-
0
votes1
answer294
viewsQ: Insert XML into Mysql table
I have an xml with the name of some movies, I want when I press a button in html the names are inserted in a table in the database. I made the connection to php using ajax. The problem is that when…
-
0
votes1
answer1462
viewsQ: Dynamically change the image of an imageView (Android Studio)?
I have a two-button View image, go back and forth. In a gallery of 5 photos I would like to keep changing the image so that one button forward an image and the other back. I know how to do just to…
-
0
votes1
answer50
viewsQ: Mysql query with AJAX
I created a table "usuario" in the MySQL containing name and password. I have established a connection with the PHP and I would like to consult on AJAX, to validate this name and password and print…
-
1
votes2
answers114
viewsQ: Foreach implementation
<?php $busca = $_GET['genero']; $xml_string = file_get_contents("livros.xml"); $xml_object = simplexml_load_string($xml_string); for ($i=0; $i < count($xml_object->livro); $i++) { for…
-
0
votes1
answer581
viewsQ: How to search an xml file with php?
<ISBN id = "1"> <genero> <descricao> Suspense </descricao> <descricao> Ficcao Policial </descricao> </genero> <titulo> Assassinato no expresso do…