Questions tagged as 'php'

0
answers

PHP ERRORS: Undefined index and PDOStatement :: execute ()

Good evening I need you to please help me with this code since I have tried but I have not been able to give solution. The code of the first doc is as follows: <div class="container"> <div class="row"> <div class="col"&g...
asked by 18.09.2018 / 03:48
0
answers

Hide results minus the selected SELECT

Good the other day a colleague from here helped me to show in a select the references that there are of a product in a select and those available and those that came from other references to hide them. (This is editing a record) All this is w...
asked by 18.09.2018 / 07:02
0
answers

Magento 2 - Change product price and add it to cart

Good morning, I am implementing a controller that pulls out a list of products and adds them to the shopping cart, but when I give a personalized price to the product, it does not respect me and puts the original. Any ideas on how to solve th...
asked by 17.09.2018 / 21:37
2
answers

redirect to an exit page send successful php form

Good morning I have a contact form PHP running but at the time of sending the send message of success I redirected to a blank page, as I could do to take me to my own page of form type: formulario-éxito.html sent successfully. this i...
asked by 23.09.2018 / 08:34
1
answer

How do I download files hosted on Codeigniter?

Good day, I'm a bit disoriented because I need my users to download information hosted from my project in codeigniter, be it images, documents, etc., then I was wondering if there is a Helper or Liberia to download files hosted from my project i...
asked by 18.09.2018 / 01:04
1
answer

Change color of a row in an html table depending on a value

I am trying to change the color of a row of my html table, depending on the value of a cell, but when I update the page I observe the colors that I put them, it takes about 1 second. and these colors disappear, I'm using Chrome. What could be...
asked by 23.09.2018 / 07:53
0
answers

Generating a spreadsheet with PHP does not appear the same in Open Calc as in Excel

I have a problem with generating a spreadsheet with PHP, the problem in particular when generating it if I open it with Open Cal it opens in the correct way, but with excel it is different since it does not include the accents and it is not for...
asked by 14.09.2018 / 09:29
0
answers

Error in Visual Studio Code; asks me path for PHPCS

I'm installing visual studio code and I get the next error.    "phpcs: Request workspace / configuration failed with message: Unable to locate phpcs. Please add php to your global path or use composer dependency manager to install it in your...
asked by 14.09.2018 / 09:05
0
answers

Update records with a for

$("#bntSimular").click(function () { debugger $.ajax({ url: "sendTophp/consultarEjeActual.php", type: "POST", success: function (ejecAct) { ejecucionActual = ejecAct; console.log(ejecucionA...
asked by 14.09.2018 / 15:24
0
answers

Symfony 3.4 Deactivate transaltions according to language

I have a question, I am using the Symfony translations. I have two languages, ES and FR. The locale is ES and I would like to be able to change from one language to another, but only the page translated into French remains. There is some way of...
asked by 14.09.2018 / 13:56