Posts by Lucas Romano • 445 points
27 posts
-
0
votes1
answer171
viewsA: iOS - Changing the height of a Text Field inside Uistackview
To change the height of the textFiled you have to put a Constraint on it. Try holding control on the element of textField and then drag on it itself, from this you will select height, From there you…
-
0
votes1
answer54
viewsA: How to show a method description in Xcode auto-complete?
From Xcode 8.2 this is possible automatically, try placing the cursor on top of the function you want to document and then press the following button combination: cmd + option + / So he’ll present…
-
1
votes2
answers123
viewsA: Searchbar shows right result, leads to wrong Viewcontroller
Put a trace from Cell to the other view. Then take a look at your prepareForSegue function. I recommend creating a custom class for your phone. getting something like this: class…
-
1
votes1
answer445
viewsA: Reload View Controller Swift 3
Creates a function that calls this connection check. Place a @Ibaction button to call this preference function: override func viewDidAppear(_ animated: Bool) { verificaConexao() } func…
-
1
votes2
answers620
viewsA: Convert View with CSS, JS and PDF Images
I recommend using mPDF to export html content in PDF. But depending on the complexity of the html the generation of it may take a little while, besides consuming a lot of server processing.…
-
1
votes1
answer105
viewsA: Refer to PHP PDO user
Unfortunately the query you placed is not correct; I believe that what you want to do there is to take an email that is in the browser cookie and passing to this method. The right way would be:…
-
1
votes1
answer1018
viewsA: Codeigniter 3 - HMVC - Problem with routes, Not Found or Failed to Load Session.php
I’ve had problems related, only with file naming, In windows often when you name the file with First letter in high box it simply does not consider, causing when climbing this same file to a linux…
-
1
votes1
answer109
viewsA: Problem trying to update object instance with Realm
To update a Realm object you have to define one of the attributes with the object id, or rather, the primary key of this object: Object primary key example class Person: Object { dynamic var id = 0…
-
0
votes1
answer136
viewsA: Pass array from one Uitableview to another Uitableview
You have to tap the cell you selected. Using the storyboar you define the cell identifier of the table you are using for so then you put to the next target view. override func tableView(tableView:…
-
1
votes2
answers856
viewsA: Swift - How to automatically change Imageview image
Just now put the logic to change for each image. NSTimer(timeInterval: 0.5, target: self, selector: "TrocarImagem", userInfo: nil, repeats: true) func TrocarImagem() { let imagem =…
swiftanswered Lucas Romano 445 -
0
votes2
answers627
viewsA: Calculation in program C results in zero in any calculation value
Don’t forget to initialize the variable When you print the variable do not need to put its memory address #include <stdio.h> int main() { float calc = 0, kwh; printf("Escreva seu consumo em…
canswered Lucas Romano 445 -
1
votes4
answers11049
viewsA: How to select in 3 tables?
Let’s take an example: You have an Article object that has more than one category, and a category may have more than one article. In this example I want to pick up 10 articles with all categories.…
-
1
votes1
answer45
viewsA: How to put an exact number of cakephp 2x pagination results
I guess that’s how you’re doing. Examples: Cakephp 3: class ArticlesController extends AppController { public $paginate = [ 'limit' => 25, 'order' => [ 'Articles.title' => 'asc' ] ]; public…
-
1
votes3
answers392
viewsA: Import a Swift into another Swift
Unlike Object-C Swift works like Java, it automatically checks the classes you have in the project, interpreting them as an object. So you can Declare an object: let meni = Meni() From the…
-
5
votes3
answers794
viewsA: Which CSS properties prefixes are compatible with Edge?
Existing prefixed properties that are extremely popular will remain until they have native support, but Microsoft Edge will not be the introduction of a new prefix system for features. Instead, they…
-
2
votes2
answers2260
viewsA: Fill div with ajax result
What you should do is take the date and put inside the div. do not know how this your return object. If it is just a text, just put the data even inside the div that neither the code below.…
-
0
votes3
answers166
viewsA: How do I make an Alert?
You can do it the traditional way via javascript. However the options are fixed to ok or cancel, since the confirm is implemented internally in each browser. <script> confirma() { if…
-
1
votes3
answers10354
viewsA: Insert with accents in Oracle
Use NLS_LANG environment variables to configure correctly, as it must be entering as ASCII (7-bit), use export for Linux and set for Windows. If input data is encoded in Windows environment:…
-
0
votes2
answers800
viewsA: How to get the CSS that was defied on another page?
Usually when a client is logged in to the system he takes this information from Session, what you could do is define different themes for the systems, and assign a theme that would call the css…
-
1
votes2
answers2141
viewsA: Modify variable when clicking javascript and PHP
If you didn’t want to put an id for each button, I recommend using jquery, so it would make it a little easier to get the value of each button <?php for ($i = 0; $i < 10; $i++): ?>…
-
1
votes1
answer92
viewsA: Parse Error Problem in PHP
Analyzing the code to note that it had two if’s without closing. If you have more codes ahead, try to post the full page for a better understanding of all <div id = "navtoplist" > <?php if…
phpanswered Lucas Romano 445 -
0
votes2
answers1767
viewsA: SELECT with keyword search
Put the identifier Administrator.username in the WHERE, maybe that’s why, that it is not identifying right SELECT Administrator.userPass, Administrator.userName FROM Administrator WHERE…
mysqlanswered Lucas Romano 445 -
1
votes3
answers88
viewsA: PHP and database
Use VARCHAR by placing the physical path on the server. Do an analysis of the entire application to see if it is not necessary to have a table only for files, so you could put more information about…
-
0
votes1
answer142
viewsA: How to use a user’s information in the mysql database on a label? iOS
I understood what you are trying to do, the problem is that both the php file and the Ios file do not have this information. This code piece returns only true or false, or rather, your code is…
-
0
votes1
answer50
viewsA: Ajax + Auth Cakephp only returns false
Make sure your Cakephp application is calling the Authentication components, if it is, make sure it is setting the Authentication controller and model correctly.
-
3
votes3
answers9184
viewsA: How to put Alert in PHP?
It is not very cool to make alerts like this, it would be more interesting to put this file to be accessed via ajax request. The Html form sends via ajax the information to be used in the query, and…
phpanswered Lucas Romano 445 -
0
votes2
answers890
viewsA: Direct upload to Amazon S3
So as I understand it, you’re having trouble with your server like you said. The best suggestion I can make is to make sure the files don’t go through the server. I think the best implementation I…