Posts by Luciano Carvalho • 101 points
3 posts
-
4
votes1
answer46
viewsA: Please someone explain this syntax: I am confusing the symbol -> with the symbol =>
Basically you use the -> to access object properties (objects defined by you or even a stdClass) and the => to address a content somewhere. Let’s take a few examples: <?php class Foo { //…
phpanswered Luciano Carvalho 101 -
1
votes1
answer45
viewsA: Is using Includes in Codeigniter autoload good practice?
I don’t think so. Basically what autoload does is load the class/functions to the Codeigniter instance. If by chance I have a helper that helps me with invoices, I carry it only where it will be…
-
2
votes1
answer34
viewsA: Select an option and send ID
To send the driver code, just change the attribute value option and pass id instead of just "driver". You can try something like this: <select class="bs-select form-control" name="nome_motorista"…