Questions tagged as 'php'

0
answers

How to show image with JSONObject PHP MySQL in Android Studio?

public String getStringImage(int position){ String imagen = ""; byte[] encodeByte = Base64.decode(Imagen, Base64.DEFAULT); Bitmap bitmap= BitmapFactory.decodeByteArray(encodeByte, 0, encodeByte.length); try{ JSONObject js...
asked by 07.08.2018 / 04:41
2
answers

Run PHP function from C #

I have a REST API with a function that returns a number (folio for me) and adds 1 and so on, if I execute that function from Postam using the API URL, it returns what I want, until here everything very well. Now as I command to execute that func...
asked by 07.08.2018 / 15:31
3
answers

doubt with the $ .get function of the jquery library

I am learning javascrit using the jquery library, and I have not been able to solve the following problem, which consists of a login that the user requests and constrasena, and if they agree with the user that is defined in a php file I should s...
asked by 03.08.2018 / 23:09
2
answers

Problems showing related data in Codeigniter

It turns out that I have a problem I want to show the name of tables related to inner join in Codeigniter but it does not let me not know what I'm doing wrong. Controller public function consulta() { $asociados = array("tablaAsoci...
asked by 03.08.2018 / 03:21
2
answers

Send two variables with AJAX to update query

I am generating a table by divs, some filters with some selects. At the moment I can decide how many records I want to show, but I have to send more variables, for example the select that I ordered by price. I show the AJAX that I have, if someo...
asked by 03.08.2018 / 07:07
2
answers

System check if there were payments from the 1st to the 5th of each month

is a condominium payment system and it is required to show if the owners paid in the range of 1 to 5 of each month I have the following but it does not do anything to me, it remains blank and the table does have data <?php session_st...
asked by 01.09.2018 / 21:37
1
answer

how to convert the results of an array of multiple rows from MySQL into PHP variables

Dear in advance I appreciate your contributions, I am stuck in a logic that probably for many of you is quite simple and is the following: I have a table in MySQL and from it I get a number of records associated with the identification of the us...
asked by 02.09.2018 / 20:09
0
answers

Changing directory does not work shell_exec in PHP

I have a problem, which is that changing the path to execute shell_exec does not work. 1.- This one works: <?php $ruta = 'C:\ASOFTPV\MariaDB-10\bin\mysql.exe'; $usuario = 'root'; $contrasena = '1234'; $carpeta='dbname'; $cmd...
asked by 03.08.2018 / 21:09
2
answers

How to send input values type "hidden" ajax?

The question is the following one, I am elaborating a project of degree I am doing sending of values stored in "hidden" inputs, but as they are different forms I want to try to make a single shipment, which sends me only the data of the form of...
asked by 02.09.2018 / 17:42
0
answers

PHP Fatal error: Uncaught Error: Call to undefined method CouncilsFormular :: data ()

I would like to know what could be, it happens that maybe I have about 3 or 4 forms made in the same way, with the "data" method always declared in the same way $data = $this->data(); but just in this form it does not work and it throw...
asked by 29.08.2018 / 19:54