Questions tagged as 'php'

0
answers

PHP and its behavior with classes

I have created some models that extend all of a ModelBase, although cos attributes are in each child, I have created a DaoBase for common operations, and inherit the different Daos, all with PDO, and now the problem. When reading a record, part...
asked by 02.12.2018 / 20:55
1
answer

PHP IF if there are three conditions, search engine can not filter for prices

I still have problems, forgive my ignorance, and try by all means and I can not filter through the price range: This is the code Ajax that is in the home <script> function filterProducts() { var marcas = $('.valor_...
asked by 04.12.2018 / 00:17
1
answer

Nginx & Yii2 only with IP

I have a VPS server installed on Ubuntu Server 14.04, as a Nginx 1.9 web server and I am about to put into production a Yii2 developed project. The server is accessed by public IP and the configured of the nginx is the following form: server {...
asked by 13.02.2016 / 00:37
2
answers

Dependent selects 2 levels

I need your help: ( I have a problem with the dependent dropdown in 2 levels, one is for country, the other for city. The problem is that when I click a country, in the dropdown of the city I get stuck inside the whole whole html page and I ca...
asked by 30.03.2016 / 11:54
1
answer

I have this error Warning: mysqli num rows () expects parameter 1 to be mysqli result, boolean given

I have implemented a notification system, but I made a small addition to the connection and I get this error: Warning: mysqli num rows() expects parameter 1 to be mysqli result, boolean given But I do not know what it means or what I would...
asked by 24.12.2018 / 17:06
2
answers

queries mysql ignore tildes

I wanted to see if there is any way to search within a document so that it does not take into account the accents of the word. That is, if I want to search for the word "truck" in the text, I can do it by typing "truck" in the search window....
asked by 27.11.2018 / 05:13
1
answer

Problems with jQuery and javascipt when consulting

Good day I am developing an application in php, the problem is that when making the query I can not find the data that if it is hosted in the database, I am using jQuery and a function in javascript that redirects me to the consumption. This is...
asked by 25.11.2018 / 17:07
1
answer

Could not Connect to the Server: There Was Some Error

When trying to connect from PHP to the server I get the following message: No Se Pudo Conectar Con El Servidor: Hubo Algun Error. The php code is as follows: <?php //conectamos Con el servidor $conectar=@mysql_connect('localh...
asked by 27.11.2018 / 08:09
0
answers

Laravel - Auth :: attempt

Good morning community of Laravel, today I come with a challenge, I hope your favorable answers. I would like to be able to authenticate myself with users of two different databases. Validate information is not a problem. In my application I...
asked by 23.11.2018 / 20:36
4
answers

I can not enter data in the mysql database using a php form

I have a user registration form, and when I execute it, it tells me that it has been connected correctly, and that the user has registered, but when entering mysqladmin , there is no record in the database. I have the following form code:...
asked by 27.10.2016 / 18:59