Questions tagged as 'php'

1
answer

soapAction of NuSoap in pure PHP

I have tried everywhere to achieve it but it has been impossible for me, I do not want to use NuSoap and the only thing I need to match everything with the PHP SoapClient is to be able to indicate the soapaction as I can mount it in the NuSoap....
asked by 18.05.2018 / 01:01
1
answer

Run Insert to table within loop with PDO

I send the year to my class and I want to insert records in the form AAAAMM ( integer ) The MM is of the form 01, 02 .... 11, 12. But it does not execute the class. Show error in the Insert . public function InsertarMesesAnio($anio){ for...
asked by 21.07.2018 / 08:33
2
answers

SQL query two row of a table in a bidding system

I would like to know how I could add to a query, that it also see data from another row of the same table, I have the "USERS" TABLE with rows ID, USER, WEB <?php $resusuario=mysql_query("SELECT * FROM usuario WHERE usuario = '".$fs['usuar...
asked by 15.10.2018 / 03:25
2
answers

Help! Problems filling a table dynamically with AJAX

I have tried to fill a table with data that is in a database, all through ajax. The query with the database is fine, like the sending of that data from a php file to a js file through ajax, the problem is filling the table with that data, only o...
asked by 01.05.2018 / 00:09
1
answer

Write an arrangement in word from laravel using php word?

I am using the php word library in my project with laravel, it works correctly, what I do is use a word template and add values using TemplateProcessor, the problem that I present is when I want to write a dynamic array in the word template, tha...
asked by 30.04.2018 / 19:44
2
answers

problem with an eloquent query

my problem is the following I do not manage to capture the id to perform the update function I get the following error: undefined index: id this is the code: public function getUpdate() { $id = $_GET['id']; $blogPosts = BlogPost::find(...
asked by 11.07.2018 / 02:54
1
answer

How to show the records that I am uploading in the database in the table html?

This is the code in php and html that I have works well, saves the records that I charge, but what it does not do is show the row that I just loaded on the page after I click on the "load" button I have to reload the page and it gives me the war...
asked by 10.07.2018 / 17:57
1
answer

How to perform an sql query with the LIKE clause using queries prepared in php?

I would like to know how I can perform a query prepare in mysql using the LIKE clause to filter $stmt = $this->db->prepare("SELECT * FROM ARTICULOS WHERE DESARROLLO LIKE :search "); $search_ = '%'.$name.'%'; $stmt->bin...
asked by 26.04.2018 / 15:35
2
answers

How to pass a variable from one function to another in laravel?

Best regards, colleagues, I have the following doubt regarding this, suppose I have the following functions in one of my controllers: public function DatosEstudio(Request $request){ $ConsultaActividades=DB::table('actividades')->select('no...
asked by 29.04.2018 / 20:37
1
answer

Error using PDO [closed]

The error is as follows:    Call to undefined method PDOStatement :: fecth () in /home/ubuntu/workspace/redsocial/classes/gestores/ManagerSeguidor.php on line 73 Call Stack: 0.0004 236840 1. {main} () / home / ubuntu / workspace / redsocial /...
asked by 06.05.2018 / 13:48