Posts by Diego Queiroz • 197 points
6 posts
-
3
votes1
answer1791
viewsQ: How to remove duplicate records in Mysql with WHERE condition
My address book table has many duplicated addresses for each client. Note in the image below that I have many duplicate Zip Codes for the same client with ID 12. I need to remove duplicate addresses…
-
1
votes1
answer40
viewsA: I need to get the children of an element
Ids are unique identifiers, cannot be duplicated. Enter the attribute "name" in the input tag and set the value to "name[ ]". It would look like this: <input name="nome[]"/> This would create…
-
1
votes1
answer185
viewsQ: How to unzip a GZIP standard compressed string in PHP?
Precise unzip a string compressed in GZIP standard in PHP. The field type is base64Binary. I’ve tried to: gzinflate($string); gzdecode($string); gzuncompress($string); But I only had return of "data…
-
0
votes1
answer397
viewsA: delete files from table
Changes your code to debug. If you have returned the 23000 code or integrity message may be foreign key. Also take a look at the permissions you have to manipulate the bank. $sql = 'DELETE FROM…
-
1
votes1
answer118
viewsA: Routes in Laravel
It is not necessarily middleware auth that automatically implements the web. In fact, at least in Laravel 5.2, according to the documentation the web middleware is automatically implemented in the…
laravelanswered Diego Queiroz 197 -
0
votes1
answer1822
viewsQ: How to use the PHP COM class to access SAT Emulator dll functions?
I’m developing a ERP you need to use SAT to issue an Electronic Tax Coupon, but I don’t know how to use the PHP to access the DLL of the Offline Emulator. I’ve been researching and it seems that it…