Posts by Gabriel Bitti • 25 points
4 posts
-
0
votes0
answers8
viewsQ: How to run Cakephp Migrations ONLY in my development environment?
I am working on a project that has three different environments: Live (project in production) Staging Development I created a Migration that creates the table teste, however, instead of creating in…
-
0
votes1
answer26
viewsQ: Different methods call a validation method, I want to know which method called validation
I have two methods that call the same method. In this method that was called (in this case, the validate()), I want to know what was the method that called it. public function increase() {…
phpasked Gabriel Bitti 25 -
1
votes2
answers2085
viewsQ: Line break inside a table cell
I have a common table in my HTML, but when a <td> has a great content line breaking does not happen, even adding CSS: table td, th { padding: 5px; white-space: pre-wrap; }…
-
1
votes0
answers228
viewsQ: Error while converting HTML to PDF with HTML2PDF
Next, I’m trying to convert an HTML file that has a table to PDF using the library HTML2PDF but when I put a table with the attribute border="1" the table looks like this: My HTML code: <!doctype…