Questions tagged as 'php'

2
answers

"Unknown" error in PHP form

I have a php that is connected to a BD Mysql and that its function is a login , the problem is that it always shows me that the user or password they are incorrect even if they are not. I leave you the PHP <?php ses...
asked by 23.01.2017 / 13:23
2
answers

Extract a value from an input that is inside a foreach with javascript

I have some data that I bring from a foreach and I show them in a table, and each record has a field called quantity, what happens is that this field when I send it through javascript takes the first value from the first record. who follows him,...
asked by 07.12.2016 / 17:19
1
answer

Problem with the ZipArchive class in php

My question is that I am compressing more than two files in .ZIP format from a server. When doing local tests in Windows it works without problems, when running it on Linux or Mac systems locally or even on a server, an error occu...
asked by 07.12.2016 / 18:20
1
answer

Bolt cms doubles my path when I call my css and my js

I am using Bolt CMS in one of my pages and when including my style files or my javascript there is a part of the link that is duplicated, then it does not find the files. In Bolt Symfony is used so I include them w...
asked by 30.11.2016 / 14:16
1
answer

Use selection function with a certain parameter and without parameter

I have a system to register students to projects that have a university (projects table), which should not be in another project. This system allows me to see a list of students who have the ability to be registered to enroll them, before it...
asked by 30.11.2016 / 12:15
1
answer

Queries of records in tables many to many with laravel

How would you do when checking the records of two related tables (many to many) using a pivot table of laravel? I try to do it with Joins, but I can not find what I want. The tables are: user role_user roles     
asked by 14.12.2016 / 15:39
1
answer

Eloquent Count + Group By + Inner join

I am having some problems with the queries in the ORM-Eloquent, I have integrated eloquent in codeigniter, I am trying to make the following query: SELECT tp.*, COUNT(*) as cuenta FROM tipo_llamadas tp INNER JOIN encuestas e ON tp.id = e.id_ti...
asked by 15.12.2016 / 15:52
2
answers

Does not show google maps marker

Good morning! I hope you can help me, the php file shows me the google map with the correct latitude and longitude, this data comes from MySQL. If the map is displayed according to this data, there is only one DETAIL that does not show the ma...
asked by 02.12.2016 / 21:41
2
answers

problems with PHPmailer

I need to send emails by form through the PHPmailer library. I am working temporarily with localhost with TestMailServer Tool as mail server. I have the php.ini file correctly configured for these purposes. I made a new folder where I put the fo...
asked by 27.02.2017 / 15:41
1
answer

Mysqli with php saves all empty data

E Fixed error "undefined index" with if, what happens is that I save empty data now in the database, without if I get error and just the empty guard, see something I do not? help please ............. This is the form, the select is nothing mo...
asked by 28.02.2017 / 04:37