Questions tagged as 'php'

0
answers

Error making an UPDATE from PHP with Ajax

I try to do an "edit" clients, but it does not work at all. Is it possible that it is because the form , I get it by PHP in a query? I will explain my code: First of all: The form , comes from a query, by clicking...
asked by 08.09.2018 / 16:22
1
answer

Integrate culqi with traveltour wordpress theme

I'm trying to integrate a culqi payment gateway with a wordpress theme, but as much as I look I can not find the way I should do it, The theme already has a payment gateway but I want to use the culqi if someone knows where I can search or recom...
asked by 08.09.2018 / 20:16
0
answers

Event on form with onchange

I wish that with an "onchnge" event I could show a message without having to modify the value of a in a form. I was asked that when I selected X value in my a text would be displayed that gave a description about the chosen option....
asked by 10.09.2018 / 15:01
1
answer

php-mysql insert into "table" It does not show any error, nor does it record the data in the table

PHP <?php session_start(); require("funciones.php"); $error=""; if (array_key_exists("Logout", $_GET)) { //Proviene de mi-oficina.php session_unset(); setcookie("CodUFree","",time()-60*60); $_COOK...
asked by 07.09.2018 / 13:20
0
answers

Problem with switch in JS

a query I've been having problems with a code segment, every time I try with a different method I get a different result, and using switch is where I'm closest to getting it. I have a page with several forms, two of them are sent in all cases...
asked by 10.09.2018 / 16:32
0
answers

I have a problem in multi-level menu creation

I'm creating a multi-level menu in php is pretty good but the problem arises when loading the sub-levels <?php $items = array( array( 'idcategoria' => 1, 'nombre' => 'Pinturas', 'padre_id' => "0" ),...
asked by 09.09.2018 / 20:49
0
answers

How to send the data of a form to different documents with buttons?

I have a form that shows printed data of a query, but I want to send that data to a php file to generate a report in pdf when the user presses the "Generate" button, I do not know if it is working correctly since when recovering those data in th...
asked by 09.09.2018 / 19:11
1
answer

Why is this if shown?

I have this if, that supposedly if NO is Sunday and a certain date has to be shown, that works, but I need to edit the date like this, by variables, and when changing it by variables it is always shown, as if the condition be fulfilled, a...
asked by 09.09.2018 / 23:12
0
answers

Property [id] does not exist on this collection instance Laravel 5.6

I want to ask for a little help, maybe your critical eye can help me solve that, I'm working with 2 tables, which have these migrations: Table questions: Schema::create('questions', function (Blueprint $table) { $table->increments(...
asked by 11.09.2018 / 02:55
0
answers

Detect error in MySQLi query from PHP, using stored procedure

I have a question, I am developing a small PHP to obtain the data of a query in a procedure stored in MySQL, the problem is that I can not find a way to detect if this query ended in error, to perform the procedure if necessary corresponding in...
asked by 11.09.2018 / 02:26