Posts by Geovane Krüger • 172 points
8 posts
-
1
votes0
answers172
viewsQ: Syntax error or access Violation: 1066 Not Unique table/alias with polymorphic relationship in Laravel
I’ve been racking my brain for weeks and I can’t solve this problem. I’m using this package https://github.com/rappasoft/laravel-livewire-tables to use Datables in Laravel with Livewire. I have…
-
1
votes1
answer54
viewsQ: Doubt about class Abstract and method __Construct?
I have the following class: abstract class Weeks { protected $year; protected $this_week; protected $last_week; /** * @param $date deverá ser no formato new DateTime(). **/ public function…
-
0
votes0
answers160
viewsQ: change Jquery triggers all inputs of the same name
Hello I added an event change jQuery input field with date-Picker, for in every change already make the change in the BD. However, this input field is repeated for each user with the same name. The…
jqueryasked Geovane Krüger 172 -
0
votes1
answer38
viewsA: Group values of an array into zones based on another PHP array
I made the code this way, I don’t know $delta_z1 = 0; $delta_z2 = 0; $delta_z3 = 0; $delta_z4 = 0; $delta_z5 = 0; //Faço um loop no array dos dados de FC for($i = 1; $i < count($stream_hr);…
-
0
votes1
answer38
viewsQ: Group values of an array into zones based on another PHP array
Hello, I have two arrays where the $key is the same for the two depending on the time they were registered. The first array is a Timeline in seconds of activity and the second array is the Heart…
-
1
votes3
answers66
viewsA: How to use a string from the database
I solved the problem. At the time of saving in the database I put a mysqli_real_escape_string and worked all the rest. Putz, and me cracking my head thinking it was json trouble.…
-
3
votes3
answers66
viewsQ: How to use a string from the database
I have the following string saved in the database.…
-
0
votes1
answer798
viewsQ: How to change a php object’s value
I’m passing an object created in a jQuery file to php and getting it from the following code. $data = $_POST['data']; $d = json_decode($data); $user = $d->user; $season = $d->season;…