Questions tagged as 'php'

1
answer

Error- Laravel php artisan

I'm having this error when executing the command php artisan serve RuntimeException in Encrypter.php line 43: The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths. in Encrypter.php line 43 at Encrypte...
asked by 01.11.2017 / 00:11
1
answer

Wampserver does not install Wordpress

I installed Wampserver on my Windows 10, but localhost did not work because of IIS Windows , so I configured Apache to use localhost: 8080 . So far so good, I can access the local install of my wordpress, until I accessed PhpMtAdmin to crea...
asked by 31.10.2017 / 22:28
0
answers

Popular form with bank data [closed]

I need to populate a form when the page loads, I tried to search with php and store in an array and other forms (some are commented), but it does not show any errors, only no information appears. How I am doing: <!doctype html> <html&...
asked by 01.11.2017 / 23:10
1
answer

How to select an option in select less laborious way?

I have a page called editarpublicacao.php which receives id through GET . One of the two <select> for example contained in the page, is similar to that of the companies: <select name="company" data-plac...
asked by 29.09.2017 / 17:43
0
answers

PHP - determine values in euros and credits

I have a sales site where I use credits for "discounts." What I want to do is if the product is 5.00 € and if the user has 100 credits These 100 credits will discount X value at 5.00 €. Example, Knowing that 10 credits deduct about 0.01...
asked by 07.11.2017 / 21:16
0
answers

if elseif else with conditional operator? and: in PHP [duplicate]

We know there is a way to do an if else using conditional operator, but I wonder if there is a way to do an IF ELSE IF ELSE in PHP using conditional operator? if so how? could you send me an example?     
asked by 09.11.2017 / 13:30
0
answers

correct sql query does not work in php

I have a query, where this query works perfectly in mysql workbench, however in php it does not work. $dados = explode("-",$ids); $sql = "SELECT prt_produto_item.nome as nome_item, prt_produto_item.q...
asked by 24.07.2017 / 19:19
0
answers

Uploading Multiple Files from a Mobile Phone

Hello, I have a web application where I need to upload multiple photos at the same time, On the pc it goes without problems but on the mobile I can not select multiple photos. Can anyone help me?     
asked by 07.11.2017 / 23:56
0
answers

Slow reporting

Well I'm having some bottlenecks in my application and I'm not identifying the problem. I will try to explain as much as possible what happens and the configuration I use. Server Settings I use a Jelastic server with 2 environments. One ru...
asked by 26.07.2017 / 19:29
1
answer

Date coming wrong

I saw the similar questions, but none with answer, my date is coming like this from the bank 2017-05-05T00: 00: 00 + 00: 00 when I try to make a date ('dm-Y', strtotime ($ date)); she comes so 04-05-2017, how can she make it come 05-05-2017? Why...
asked by 25.07.2017 / 16:40