Questions tagged as 'php'

1
answer

Send to different recipients Php Mailer

I am doing a generated order, and when this is correct send an email to the client with acknowledgments and the corresponding invoice. But you would need that at the same time send an email to another address that would be the administration so...
asked by 03.01.2019 / 12:42
1
answer

I get an error in "if ($ stmt- execute ())" with PDOStatement :: execute (): SQLSTATE [HY093]: Invalid parameter number

I am using the model view controller, I have a problem where I get a long error indicated in the title in the line of: "if ($ stmt-> execute ()) {", the User does not generate me in the DB and is what is bothering me the most, I attach the git l...
asked by 21.12.2018 / 00:36
0
answers

Slider with WP_Query in Wordpress does not work well [closed]

I have 2 sliders (.slide1 and .slide2) at the start of my website. If it is a mobile I show .slide1 and hidden .slide2, and if not then vice versa. Both sliders work but I want them to show 3 pictures only, and the problem is that they show more...
asked by 12.12.2018 / 07:15
1
answer

Customize range in filter by price in Prestashop

Someone knows how to put a custom range for prices in the faceted navigation block, my current filter which comes in the theme by default takes the minimum and maximum value and divides it into 4 ranges. I am using Prestashop 1.6.1.4. a...
asked by 19.04.2016 / 22:06
2
answers

Because a query is detected as a Boolean

I am a novice student of programming and I have an error in certain lines of code, the question is I do not know why the query takes the value of a Boolean and it gives me the following error.    Uncaught Error: Call to a member function fetc...
asked by 11.12.2018 / 05:21
1
answer

Bring the value of the select and leave it marked by GET

Good I'm doing the order editing and I bring the data through GET. There is a field in the table called Iduser which is the user who has placed the order. Then to edit the order I get a select with all the users that I have in the BD....
asked by 11.12.2018 / 09:15
0
answers

How to change the status field of a foreigner every 3 months and send an alert [closed]

I have no idea how to do this. I have a view with two tables, where one shows me the status of a team and the other the maintenance that is done to them, what I want to do is change the status of "pending" made when maintenance is done and every...
asked by 05.12.2018 / 13:33
2
answers

Add values of a column

people .. I have this table: What I want is to add all the values in the TOTAL column and be able to show them where it says subtotal .. can anyone help me with the formula I would have to do to show that? then the rest of the items is...
asked by 05.12.2018 / 01:36
1
answer

Update by clicking on the button

Again, sorry for the inconvenience, but I need to finish this job, and this would be the last thing. What I need is that, when you click on the update button, this sql statement is executed so that the total of the table is updated:...
asked by 05.12.2018 / 03:46
2
answers

How to update file array in laravel?

I am developing a project in which I have to save several files from a table, I can save them the problem is to update or edit I can not do it I get this error    "Argument 1 passed to Illuminate \ Database \ Grammar :: columnize () must be  ...
asked by 05.12.2018 / 23:22