Questions tagged as 'php'

1
answer

the poo instructions do not work with apache2

I had installed xampp and my code of a menu worked correctly using Object Oriented Programming, I had to reinstall my system but now install apache2 php5 and mysql. The codes were not modified, and they do not work for me. <nav class=...
asked by 05.10.2016 / 05:07
1
answer

Update data of a form according to a record of an html table

The problem is that when you update the form data, you do it correctly, but the main menu and the navigation bar stops working. I have it like this ... <tbody > <?php while($fila=sqlsrv_fetch_array($consultaVendedores)){ $nu...
asked by 07.10.2016 / 23:45
2
answers

Create LightBox in php

I need to put the LIGHTBOX component in php when creating a table with echo , I have tried with the css and js libraries that I have seen on the internet but it does not work for me, attach the code: $query = $db->prepare($sql); $que...
asked by 12.10.2016 / 16:40
4
answers

JSON encode with SQL and PHP query

Good morning, everyone. This question I have already seen in several issues but I do not understand very well what is the problem of why it does not enter the results in an array. I know that the query returns results. I leave code: functio...
asked by 11.10.2016 / 17:36
2
answers

When an error occurs creating the user the list of errors is not displayed

Something is wrong with the registration of new users. Here I have an attempt to create a user in which I have incorrectly entered the password confirmation. That should return me to the creator of the new user with a message in red indica...
asked by 22.02.2018 / 21:20
2
answers

How to compile pug (before jade) to php with gulp?

I am working on a project that is necessary to work with .php, I have always worked with .html, but now I have to work with .php, I work with pug before called jade and I compile it by means of tasks in gulp, but by default compiled in html, but...
asked by 14.10.2016 / 06:40
1
answer

select an index of a select in html and based on it affect another Javascript element

Hi, I have time looking for an answer to this, what I want is that when I select an option of my select I can change the text of an imput                                                               Request:                                   ...
asked by 24.02.2018 / 01:54
1
answer

Divide an image into 4 equal parts using php

Currently I am trying to divide an image into 4 other images of the same size from the first one. The result I'm looking for is that the height of the original image is divided by 4 and from there, I get those 4 possible images, each one startin...
asked by 31.08.2016 / 22:50
1
answer

notifications on the desktop from node.js

I have a chat programmed with Node.js , PHP and MySQL , I just need to notify the user that he has new messages, but notifications of HTML5 vanish. Does anyone know if it is possible to program them as desktop notifi...
asked by 19.09.2016 / 20:34
1
answer

POO PHP - Undefined index: user and password

   Notice: Undefined index: user in   C: \ xampp \ htdocs \ DSagredo \ inc \ functions.php on line 18       Notice: Undefined index: password in   C: \ xampp \ htdocs \ DSagredo \ inc \ functions.php on line 19 INDEX.PHP $obj->getLog...
asked by 15.09.2016 / 15:34