Posts by hh22 • 145 points
11 posts
-
1
votes1
answer46
viewsA: Master updated alone with the checkout
Whenever doing the merge in question commit before. git commit -m "{o que você fez}" If you need to change branch before moving up to master (good practice). Use the: git checkout -b…
-
0
votes1
answer45
viewsA: Github - Branch
After you’ve cloned the repository to change branch you can use the command git checkout develop To create a branch from this branch you can use the command: git checkout -b…
-
1
votes1
answer65
viewsA: input value does not appear in POST
Probably because of the: disabled attribute. replace with the reandoly attribute! <input type="text" class="form-control" id="nome_user" name="nome_user" value="<?php echo…
-
1
votes1
answer76
viewsA: How to check if a mysql database table already exists with codeigniter4?
You can make a query to see if the table really exists, example: if ($this->db->table_exists($table) ) { // table exists some code run query } else { // table does not exist } And to create a…
-
1
votes1
answer77
viewsA: Is my SQL code okay?
I believe that a valuable tip is, avoid using string when it is an operation of "update" or "delete". Because if there is more than one record in the bank with the same value example "Maria" or…
-
0
votes2
answers121
viewsA: How to access foreign key table in Laravel to return in a View
I can’t visualize, as you are performing the query to search for these elections, probably if you make an Inner Join between these tables can be redeemed. Example: select * from atendimento inner…
-
0
votes2
answers48
viewsA: How to recover data from localstore?
You can use the command: var value = localStorage.getItem(keyName); source: https://developer.mozilla.org/en-US/docs/Web/API/Storage/getItem…
javascriptanswered hh22 145 -
0
votes3
answers781
viewsA: How to view the data of the last saved record in the database
In the query you could give an order by, to list the last record. Example: select * from clientes order by cliente_id desc Thus would return the last registered record.…
-
0
votes1
answer570
viewsA: Problem sending a project to Github
Try to initialize git first inside your code. git init Then add any file, it can be a README.Md and carry out the trade git commit -m "seu commit aqui" then make the command "git push origin master"…
-
0
votes1
answer29
viewsA: City and zip code information behaving strange. PHP Mailer, Html
Try to change the id’s of these fields that are being wrongly loaded, and perform the mapping again. If you need to debug, use print_r(array).
-
1
votes1
answer1189
viewsQ: Return Curl with JSON
Good morning, I’m trying to return this code in JSON, I just want some specific fields ex: Operator, type, portability and status. <?php //header('Content-type: application/json'); $post = ['tel'…