Questions tagged as 'php'

2
answers

Prevent refresh after submitting on PHP pages

Good evening, everyone! I have a question and would like help, tips and more. I have a basic HTML form that sends the data through the POST method to the same page, ie I submit it to the page itself. Since this page has actions in Javascript, af...
asked by 27.08.2018 / 05:44
1
answer

Navigation menu items overlapping content

I'm working on building a website using php and html and for easy browsing, I've separated the menu from the index into another file and am calling it with the include_once inside the body's index. It turns out that when I add any other content...
asked by 19.07.2018 / 02:32
1
answer

JavaScript function breaking image

Hello; I'm having a Technician project, and it has a list of games in it, I want to make it when I hover over the image, so I have the following: foreach ($lista as $jogo){ echo (' <div class="quad-Jogo box"> &...
asked by 26.07.2018 / 01:16
0
answers

Working with Images - PHP

I have already worked and still work with some image manipulation libraries in PHP , but I decided to study the origin of the manipulations, how they work, how to implement and work with the images.    As we know the images are uploaded...
asked by 20.07.2018 / 20:36
0
answers

Group arrays with equal fields

Personal wave I have the following representation of an array [cfop] => Array ( [0] => Array ( [code] => 1403 [value] => 10.50 )...
asked by 27.12.2018 / 16:24
1
answer

How to calculate cumulative time in cumulative days in php? [duplicate]

Everyone, okay? I'm new here in the forum. I searched around every corner and could not find a solution to what I need. The concept is simple: What I basically need to develop is a cumulative day counter that does not have a defined e...
asked by 19.07.2018 / 00:31
1
answer

How to use DOMPDF in Laravel 4 in conjunction with a view in BLADE?

I need to generate PDF report in Laravel 4. I found several alternatives and I'm in doubt about which option is best: DOMPDF ( alternative link ) It seems very easy to use, since it is our good old HTML plus CSS, however I did not unders...
asked by 23.12.2013 / 19:10
0
answers

SheetJS, excel to mysql database

I am trying to extract from an excel all the data to insert into a mysql table. Running the example given in github, returns me an error, require is not define. link Is there a more correct way to do this?     
asked by 03.01.2019 / 11:25
1
answer

Error Expected SSH_FXP_VERSION when connecting via php with phpseclib

When connecting to some devices, I'm getting this message:    Expected SSH_FXP_VERSION and the command does not execute. I'm using php with phpseclib .     
asked by 27.12.2013 / 19:30
4
answers

MySQLi vs PDO - Which is the most recommended to use?

With mysql_* entering the deprecated state, the PHP documentation recommends using the PDO and MySQLi. Which do you recommend for use? PDO seems to be more suitable for working with object-oriented only than at the same time I saw...
asked by 06.03.2014 / 18:10