Questions tagged as 'php'

1
answer

How can I get an arrangement made in jquery?

I will explain what I want to do, I from a file js create an array in which I will generate associative indexes (if that is how you can call them). After creating the array I try to send it through ajax to a php file, but when trying to receive...
asked by 31.07.2018 / 06:46
1
answer

Error in generating a breadcrumb using PHP?

Inquiring on the web, I found two examples that I like. The first one does not generate errors, it is ideal to create a breadcrumb due to defects, according to the data obtained from the URL. <?php $trail = array( 'path' =>...
asked by 30.07.2018 / 14:43
1
answer

the validation with recaptchat v2 does not work

You will not see the validation with recaptcha nose work because the error occurs, I tried to change the code without getting the result $secretkey = 'Lfi9WAAjjjAFjfgddTmñlokjLU0WT9R'; $response = file_get_contents('https://www.google....
asked by 02.08.2018 / 00:43
1
answer

How to list records with subrecords in mysql and php

What I want to do is the following, I have the following tables in the mysql database manager Tabla - comentarios id_foro int (11) id_comentarios int(11) id_user_comment int(11) file_comment text date_comment Tabla - respuestas_comentarios...
asked by 30.07.2018 / 16:35
0
answers

Validate select in registration form

I'm doing a fill-in-registration form where everything was fine except for the select, the code is as follows: Database: CREATE TABLE usuarios( id INT NOT NULL UNIQUE AUTO_INCREMENT, tipo_de_usuario VARCHAR(100) NOT NULL, nombre VARCHAR(2...
asked by 20.07.2018 / 00:07
0
answers

Problem when updating with ID of another table in CodeIgniter

These are the 3 tables I have: ci_comments : comment_id, email, website, body. ci_relationship : id, comment_id, user_id. ci_users : user_id, username, email, biography. The problem is that I'm trying to get data from two tables,...
asked by 19.07.2018 / 09:14
0
answers

Digital signature with PHP

Currently I have a fairly simple form, with HTML + PHP + Javascript + Ajax. Basically, when the form is complete, I export PDF and CSV. However, right now the form is "signing" with Canvas, and I was thinking of a solution using digital certi...
asked by 19.07.2018 / 10:04
1
answer

Intentions when uploading some images to the server with PHP

SOLVED THE PROBLEM. The problem is already solved and I explain it to you next in case someone else happens the same. The code initially worked without any problem but when uploading the images some of them failed and were uploaded in a c...
asked by 04.08.2018 / 19:04
2
answers

consult all data of 2 columns

I need to make a query with php and mysql, the idea is to consult all the data of 2 columns, especially the table, user_id and validity_document. I want to check all the data to see if a document is expired and if so send an email alerting, I...
asked by 15.07.2018 / 22:59
0
answers

Error in Laravel Routes 5

I am new to Laravel, I currently have a problem. I have a project that happened to me, which was done in version 5.2 of Laravel, I currently have 5.7. Execute the commands: php artisan cache:clear php artisan config:clear Verify that you al...
asked by 10.09.2018 / 03:34