Questions tagged as 'mysql'

1
answer

How to bring several fields at once with Ajax

I am trying to show several answer results. I want to show all the "follow-ups" with the same id of the "case" table, this is the Ajax that I use to put in each input the fields of the query. function Tcaso(id){ $.ajax({ type:"...
asked by 16.07.2018 / 12:09
1
answer

Does anyone know how to connect to SAP tables to develop a web application?

what's up ?? My problem is that I am developing a web application for a company and it uses the 'SAP' program to control all its data. This software has a database with tables as if it were mysql, but the problem is that I do not know how to...
asked by 18.07.2018 / 18:58
0
answers

Pass attribute value to XML node from a foreach that receives data from a query in mysql

I am trying to traverse data in a foreach that takes the attributes and values of an array that comes from a query that returns a result_array (). The objective is to take the values of that array and add them as attributes with properties and v...
asked by 11.07.2018 / 19:32
0
answers

File opens locally but not on the server

I want to upload a txt file that is already delimited by commas and, when I do the local tests with the following code, it works for me as I expected $databasetable = temp; $fieldseparator = ","; $lineseparator = "\n"; $csvfile='c:/archivos/...
asked by 11.07.2018 / 19:23
0
answers

Multilanguage script help

This is my first question I hope I can make myself understood, what happens is that I'm doing a small script in php and mysql, something similar to plugin polylang for wordpress, so far all right only I need that in the table where I show the re...
asked by 10.07.2018 / 02:04
1
answer

How can I get the records of a field in a table, if I first have to compare two concatenated fields from two different tables?

Example of what I want to do but it does not return any value to me: select select CONCAT('1','-22',valor,'-12')concatenado from t1,t2 where concatenado=registro Well my database manages two tables, projects and accounts, where projects...
asked by 10.07.2018 / 22:07
1
answer

copy field from one table to another php

Hi, I would like to know how I can finish in a good way the insertion of a field that is already inserted in another table, in this new one, I have what I will show next: $copcod = mysqli_query("insert into tabla_destino (select id, código fro...
asked by 10.07.2018 / 08:16
0
answers

Problem generating PDF with DOMPDF

I have the following code <?php require_once("../../../VISTA/conexion.php"); require_once '../../../FRAMEWORKS/dompdf-master/lib/html5lib/Parser.php'; require_once '../../../FRAMEWORKS/dompdf-master/src/Autoloader.php'; Do...
asked by 10.07.2018 / 17:53
2
answers

Put php variable to ajax depending on the name of the class and the content

The title does not explain much, but I have a code that gives a number to the class, because it is in foreach , it would be <button class='accept ".$accept++."'>Accept</button> the $ accept ++ is added one for each time...
asked by 11.07.2018 / 01:26
0
answers

PayPal IPN does not store in MySql

I'm having problems with the IPN of PayPal , it's my first time integrating this gateway and the data that comes in the documentation was a bit scrambled. create 3 files to process the payment, paquetes ipn and s...
asked by 11.07.2018 / 05:20