Questions tagged as 'php'

0
answers

Print in a pdf image a database field

<button class="col-xs-12 col-sm-3 col-md-3 col-lg-3 btn btn-success"> <a target="blank" href="IIICERTIFICADO.pdf" >Imprimir Certificado</a> </button>    Good morning, I would like you to guide me in this doubt. I want...
asked by 03.12.2018 / 17:47
0
answers

Reply Objetc Array in Web Service XML-RPC

Friends, I need the XML-RPC Web Service that I developed to respond to an object Array (1) and what it responds to is an objetc Objetc (1) What answers me is with the structure: Response object Object (1) - filter: 0 String (1): "2" And...
asked by 30.11.2018 / 19:28
0
answers

Consecutive in PHP and MySQL

Good day I have a table in mysql called "def_consecutivo" where there is a field id iddef_consecutivo | desde | hasta | contador the id is a field to identify ranges desde is for the start of the range of numbers...
asked by 03.12.2018 / 17:16
1
answer

Return ID registered in a procedure stored in mysql

Hello, I have the following code in php which makes the registration of a sale what I want is to perform the following action. Return the id of the record stored in the DB $query = "CALL sp_insert_venta(:tipo_pago, :tipo_comprobante,...
asked by 30.11.2018 / 21:19
3
answers

Error with table relationships and showing a value in Laravel

I have 4 tables that relate to each other in my database in PhpMyAdmin; I'm doing a php site with Laravel with Blade. And it turns out that I want to show some fields that in themselves have no relation with a main table that I have, but with ot...
asked by 30.11.2018 / 20:19
0
answers

unlink does not work

You see, I have a table Photo with these values: Schema::create('fotos', function(Blueprint $table){ $table->increments('id'); $table->string('foto')->unique(); $table->string('nombre')->unique();...
asked by 07.12.2018 / 11:34
2
answers

Show Query in Ventana Modal

I have a question with AJAX & PHP. I have a table of clients and I would like a bootstrap modal window to show me a mysql query in function to the client that I press. When pressing INFO, show me the Mode with a query in function...
asked by 07.12.2018 / 07:46
0
answers

Laravel Pasport, Two Login Login tables

I am trying to make a user authentication with two tables, a different table to 'users' and the one of 'users' which is the default Laravel, use laravel passport. The detail is when I try to login with the second table I can not do the authentic...
asked by 29.11.2018 / 20:13
0
answers

Call to undefined function executeNonQuery ()

I have this code that is part of a function in php to change status , previously everything worked perfect, but now when changing status , mark error in: $result = $connection >executeNonQuery($query,array($_POST['num...
asked by 29.11.2018 / 22:25
1
answer

Error creating temporary table Mysql Php Pdo (mysql.column_stats: expected column 'max_value' ...)

I have an extensive procedure that runs directly in mysql works, now when I put it in php I get an error from the beginning that is creating a temporary table from where I will be getting data for the remainder of the report. This is the code th...
asked by 29.11.2018 / 20:46