Posts by braulio_holtz • 1,613 points
18 posts
-
0
votes1
answer95
viewsQ: Laravel - relationship 1 for two tables and sort
I have a playlist table, a playlist_content table and two Vodcontent and Livecontent tables. Today I make the relationship between vodcontent and livecontent with a hasManyThrough relationship.…
-
0
votes2
answers2182
viewsA: Laravel Jobs Queue
I’m using the Laravel Horizon to manage Queues 'local' => [ 'supervisor-1' => [ 'connection' => 'redis', 'queue' => ['default','Migration','Upload'], 'balance' => 'simple',…
-
2
votes2
answers2182
viewsQ: Laravel Jobs Queue
I’m having a question, I’m trying to run the Jobs using the Supervisor to run Jobs, only the command doesn’t work with php Artisan Queue:work rather with php Artisan Queue:work --Queue=high, I’m…
-
3
votes0
answers179
viewsQ: PDF reading - PHP - Content and ID
I’m looking for a solution that consists of an automatic form of reading PDF’s, basically I get hundreds of invoices and wanted a way to automate. What I tried: Programs that convert to txt, which…
-
3
votes2
answers108
viewsQ: Regex - picking certain values - PHP
I’m in doubt, I tried to read several articles on regular expressions, but it still didn’t fit in my mind, I get confused. I have a certain string…
-
1
votes2
answers290
viewsQ: Changing a textbox within a textbox group / jQuery
I have a function that when clicking on a button, it would add fields, each time it adds, adds 3 fields, quantity, total value and subtotal value. My question is how would I change the total value…
jqueryasked braulio_holtz 1,613 -
1
votes1
answer164
viewsA: Upgrade with HABTM model - Cakephp
I managed to solve the problem In my model (.php client) I left with Unique = true public $hasAndBelongsToMany = array ( 'opcoes_clientes' => array ( 'className' => 'opcoes', 'unique' =>…
-
0
votes1
answer164
viewsQ: Upgrade with HABTM model - Cakephp
I am having trouble entering or changing data using the HABTM model, it does not recognize 3 fields, but is recognizing hidden fields normally. Follow the files with programming, are 3 tables, one…
-
1
votes1
answer621
viewsA: Cakephp - page using more than one table
Settled the question public $hasAndBelongsToMany = array ( 'opcoes_clientes' => array ( 'className' => 'opcoes' , 'joinTable' => 'rel_infos_clientes', 'foreignKey' => 'id_cliente' ,…
-
6
votes1
answer621
viewsQ: Cakephp - page using more than one table
I have a question, about saving data in the database using Cakephp, when you need to manipulate with more than one table. I am creating a customer registration system and in it has a system to…
-
1
votes1
answer272
viewsA: Jquery Cycle - A centralized slide and the other two partially appearing
As I need to deliver for today, I made another solution with Cycle2 and in IE 8 and 9 will only appear only one slide, the rest is empty anyway, it was the fastest way to view correctly... already I…
-
5
votes4
answers5885
viewsQ: How to smooth the font with CSS in Chrome?
I have a "crackle" font problem in Chrome, IE, it seems that the tips are pixelated. To help, I’m posting two images IE: Chrome: My CSS calling the source: @font-face { font-family: "Helvetica-nw";…
-
-1
votes1
answer313
viewsQ: Use of -Webkit-* and -Moz-*
The prefixes -webkit- or -moz- shall be used for elements operating without the use of such elements (such as box-shadow)? Normally those who use Chrome and Firefox have versions that support many…
-
3
votes1
answer272
viewsQ: Jquery Cycle - A centralized slide and the other two partially appearing
I am in need of a slider that would have at least 3 slides, where the middle one would appear completely with the resolution and the other two sides would appear partially. I’m using the solution…
-
70
votes5
answers17559
viewsQ: Mysqli vs PDO - which is the most recommended one to use?
With the mysql_* entering the state deprecated, the PHP documentation recommends using PDO and Mysqli. What do you recommend for use? PDO seems to be best suited for working with object oriented…
-
48
votes6
answers12507
viewsA: Why shouldn’t we use mysql_* functions?
We see that we have many answers about this, but in short, anything that the latest version in PHP (or any language) goes into the obsolete state, we should change, try to adapt the code and if…
-
1
votes2
answers1136
viewsQ: Carousel style with 3 slides
I’m trying to make a kind of slider where the middle slide appears as main and the sides will cut according to the resolution, but I was having problems in the IE and incredible that it seems the…
-
1
votes2
answers250
viewsQ: Spacing between Ivs overlaps
I have this site containing a slider the problem that is happening is that depending on the size of the screen the spacing between each slide changes, someone has some idea of how to solve this? I’m…