Posts by Matheus Gonzales • 31 points
9 posts
-
-5
votes1
answer4423
viewsQ: Laravel foreach view
I have this array and it can be infinite, with several children https://jsoneditoronline.org/? id=cff2cb9795a64273142b24b83e73ffe3 how I do a foreach on that in a view?…
-
-1
votes1
answer329
viewsQ: What’s the matter with you?
Next, on my model: public function indicacao() { return $this->hasMany(User::class, 'indicacao','name'); } public function todasindicacoes() { return…
-
0
votes0
answers39
viewsQ: Laravel Eloquent
I’m trying to do this query but the $test variable enters empty in the query but when I print it, I see it exists namespace App\Http\Controllers; use Illuminate\Http\Request; Use App\User; class…
-
0
votes0
answers63
viewsQ: Parameter in the Register
I wonder if it is possible to pass a parameter by url on auth pattern of Laravel, the one made for make:auth register/login because this login would use in the table user?…
-
1
votes0
answers296
viewsQ: Request Variable returning null
Good afternoon guys, I’m new to frameworks but I have the following little problem: the request ta returning empty for my query thanks in advance "select * from `usuarios` where `cep` = ?" my…
-
0
votes2
answers391
viewsA: Error "1241 - Operand should contain 1 column" in Trigger that checks duplicities
BEFORE INSERT ON banco FOR EACH ROW BEGIN IF (NEW.id_dados, NEW.referente_obs) not in ( ( select A.id_dados From banco as A where NEW.id_dados = A.id_dados ), ( select A.referente_obs From banco as…
-
0
votes2
answers391
viewsQ: Error "1241 - Operand should contain 1 column" in Trigger that checks duplicities
I’m doing this Rigger to check if it already exists dados_id and referente_obs in the bank table But returns this error: 1241 - Operand should contain 1 column(s); BEGIN IF (NEW.id_dados and…
-
1
votes4
answers1444
viewsA: Excel transpose row to column and preserves columns and replicate them in row
Perfect solution Sub CONVERTROWSTOCOL_Oeldere_revisted_new() Dim rsht1 As Long, rsht2 As Long, i As Long, col As Long, wsTest As Worksheet, mr As Worksheet, ms As Worksheet 'check if sheet "ouput"…
-
1
votes4
answers1444
viewsQ: Excel transpose row to column and preserves columns and replicate them in row
Hello, Next, I have a CSV as follows: A;B;C;D;1;2;3;4;5 E;F;G;H;6;7;8;9;10 The columns of letters have a regular structure, whereas the columns of numbers do not but you could blow them up and put…