Questions tagged as 'php'

0
answers

Multi-language using laravel and vue

I am developing a page which will have multi-language Spanish and English , for front-end I am using vue-i18n . In front-end I send the active language every time I need some data of back-end The problem When...
asked by 25.07.2018 / 22:49
1
answer

how to filter a download of a file by date?

   index.php <!DOCTYPE html> <meta charset="utf-8" /> <title>generando RIPS...</title> </head> <body> <div> <h1>Registros Individuales de Prestación de Servicios de...
asked by 25.07.2018 / 15:19
1
answer

Undefined property: stdClass :: $ comments laravel

I have an error when returning a foreign key in the view, initially in the path 'index' there is no problem, ṕero when changing the query a bit and changing the route, this index view is no longer useful . ROUTES Route::get('/', 'SessionCon...
asked by 26.07.2018 / 00:09
1
answer

how to make a button perform an action and at the same time (second action) reload the page with new data

I have doubts when implementing this requirement; I have a page in php in which I show a table with 10 records of MYSQL same that I can select to be able to update in the database, with javascript and ajax sent the data again to another php to...
asked by 02.10.2018 / 15:38
0
answers

Modify my filter to show the data in the view

I have a problem with a filter that I created thanks to the stackoverflow community but it does not finish working correctly, of course my fault. This problem I am going to divide into 2 parts, because first, I need to bring the correct data...
asked by 03.09.2018 / 11:12
0
answers

array sent by ajax does not reach full php

I have an array of 61 elements, each element of that array is another array Array(61) [ {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, … ], The issue is that when I sent it as a parameter to php and I do a print_r it only prints...
asked by 03.09.2018 / 18:22
2
answers

I can not connect my database in my Hosting

This is my connection: Using CodeIgniter $db['mysql'] = array( 'dsn' => 'mysql:host=mysql.hostinger.co;dbname=u201535648_regis', 'hostname' => 'mysql.hostinger.co', 'username' => 'u201535648_germa', 'password' => 'password'...
asked by 23.07.2018 / 20:47
1
answer

How to make an INSERT of an Array

Very Good ... The query is made to the db, this query only shows the income ids that are in table 1 called (INCOME) and are not in table 2 (BILLING) a chuekbox was placed where the user chooses to which of them will enter the invoice code, en...
asked by 24.07.2018 / 17:12
0
answers

Codeigniter Routes

I have this $route['categoria/(:any)'] = 'site/categorias/$1'; $route['subcategoria/(:any)'] = 'site/subcategorias/$1'; Can I change them to this? $route['(:any)'] = 'site/categorias/$1'; $route['(:any)'] = 'site/subcategorias/$1'; I w...
asked by 23.07.2018 / 18:24
1
answer

Display user data logged in php

I'm trying to show data that the user has connected, but I can not. What I want to show is the text of the alert that that connected user has. As you see and done a print_r and I get SELECT alerta FROM usuarios WHERE usuario='test@gmai...
asked by 21.07.2018 / 19:05