Questions tagged as 'php'

1
answer

What is the best way to read an XML in PHP and insert it in the Database?

I am reading XML files of about 50M of information (about a hundred thousand records, may be more), and I have two classes read XML read from a DOM and another SAX. I'm having a problem in terms of runtimes, take me longer than 10 minutes, ma...
asked by 17.06.2014 / 15:34
1
answer

How to adjust the print of an Html in two columns?

Dear colleagues, I'm developing a PHP program with zend Framework2. In this program I have to generate a stylized PDF containing the header, body and footer (I'm using DOMPDF). The basic structure of the three div's are already up and running...
asked by 14.03.2017 / 15:10
1
answer

Difference between compact function and literal array assignment

According to the PHP documentation, the function compact .    For each of the passed parameters, compact() looks for a variable with the name specified in the symbol table and adds it to the output array so that the variable name...
asked by 09.12.2016 / 20:09
2
answers

Add PHP in ASP.NET [closed]

I'm creating a website in ASP.NET and the company wants me to keep the client area of the old site that was made in PHP. The client area consists of a login, where after being authenticated, the client can fill out a form with his / her probl...
asked by 06.05.2015 / 15:37
2
answers

Practice deploy, how to do?

Currently many languages have deploy deploy practices that automates the whole process, such as CI (Continuous Integration). Each commit in the repository is deploy system (I believe Jenkins or Capistrano) performs unit testing / TDD and...
asked by 22.04.2015 / 14:53
0
answers

Get information from an array inside a foreach - PHP

Good afternoon. I'm developing an application with PHP using Laravel, and I'm having a hard time. I have a table with the name of Account, in which it has the code of this account, represented by the variable $ client-> Code, also has the...
asked by 28.10.2017 / 17:55
4
answers

Use of & next to Operators and Functions in PHP

What is the meaning of using & with operators and functions in PHP since I checked in some libraries Example and functions this use (I am aware of the use next to variables has relation to the passing of pointers) $browser...
asked by 19.02.2015 / 12:57
0
answers

Extension to improve Atom productivity

I wonder if anyone knows of any tool that provides these functions in the Atom editor or Atom IDE? These functions help me with day-to-day productivity!     
asked by 27.10.2017 / 15:13
2
answers

Conflict of encoding using Tinker and Laravel

I'm learning how to use Laravel and got caught in an encoding problem. I am trying to use tinker to insert data into my tables, and there I am getting the following error when I try to include a new post: Illuminate\Database\QueryException w...
asked by 09.10.2017 / 18:09
2
answers

Execute SELECT within a CASE

I am using php to make a SELECT of the database, however I need to select check if one of the fields has been filled in and, if so, execute a new SELECT of another table. Basically the idea is that I have a coupon...
asked by 14.07.2016 / 16:25