Interesting questions
-
0
votes0
answers25
viewsPass two Controller variables to Codeigniter view
I would like to pass two variables from Controller to Codeigniter view, follow code: $lista_diversos['diversos'] = $this->diversos->getDiversos(); $listacodigos['codigos'] =…
-
0
votes1
answer93
viewsMongooose Middleware to encrypt password in Schema
I’m having a hard time putting a Middleware in my Mongoose schema. I put it as save and am getting the error that it is not a function when I call it. See below both codes: schema.pre('save',…
-
0
votes2
answers902
viewsHow to send form fields by email in a table format?
My application takes some data that the user fills in the Textbox fields (txtEmpresa, txtContato, etc...) and sends it to a preconfigured email. I can send the data via smtp, but they are being sent…
-
1
votes1
answer20
viewsWhy declare the timeout ID outside the callback of the mocking function?
This is a function that prints in the console what I type in the input. I would like to understand why, when I declare the ID of the setTimeout (in that case called time) outside the function, it…
-
1
votes1
answer291
viewsIs the ALT attribute inside the SPAN tag valid?
bought a wordpress template that inserts the highlighted image of this almond tree: <span class="fullimage cover" role="img" alt="O que significa sonhar com abacaxi" aria-label="O que significa…
-
0
votes3
answers326
viewsChange the size of an image by device
How do I change the size of an image according to the device? I have the code below: <div class="header-outs" id="header"> <div class="slider"> <div class="callbacks_container">…
cssasked 6 years, 9 months ago user24136 -
0
votes0
answers31
views -
0
votes1
answer56
viewsOnly send a product inside the email
I insert in 3 different tables and when the checkbox nay is different from empty send an email to the responsible. Everything is working correctly. I will show the code: $Carro = $_POST['Carro'];…
-
3
votes1
answer972
viewsWhat is considered a failure in the Google Play Console
I accessed the statistics of my app in Google Play Console and noticed that there are several notes of failures, but there is no ANR and the crashlytics registered very few crashs, which leads me to…
-
4
votes1
answer1795
viewsHow to know if the e-mail has reached the Recipient?
I’m building a system (in PHP) that requires approvals, and with each approval I send a confirmation email to the user... I’m using the phpMailler, and he informs me at the end, that the server sent…
-
0
votes1
answer95
viewsAngular - HTTP Interceptor returns the value of a promisse
I have to apply a descriptografia on the return body of a request via Interceptor, but the method of decryption is asynchronous and returns a promisse. Follow a section of the class: intercept(req:…
-
0
votes0
answers89
viewsHow to start a service?
The function below starts through a file . jar a Webservice. private static void StartService() { try { var FileStart = new…
-
0
votes1
answer900
viewsSecurity in PHP BD Access
I’m setting up a website, and I’m not sure how to secure my database. I currently have a "Security" folder with the file connection.php who connects with the comic book. I give a include in this…
-
-1
votes1
answer181
viewsphp does not recognize the mysqli_connect() command
I am running a coigo via cmd and he started to present this error PHP Fatal error: Uncaught Error: Call to Undefined Function mysqli_connect() in…
-
3
votes3
answers85
viewsJquery ischecked does not work
I have the following checkbox: <input type="checkbox" name="responderam" id="responderam" value="1" onchange="Filtra()" /> Mostrar apenas quem respondeu And the function it calls will update…
jqueryasked 8 years, 8 months ago WitnessTruth 1,017 -
2
votes1
answer5848
viewsHow to install a previous version in Angular
Good evening, my question is very simple, but I did not find the answer, as I install a version 4 of Angular, if the current one is in the 6? I tried to npm install -g @angular/cli@4 or npm install…
angularasked 7 years, 6 months ago Priscila Neu 121 -
6
votes2
answers7182
viewsHow to send an Array via POST to a PHP controller
I need to pass an array via POST to my PHP controller, the only way I have in mind is not to pass an array, but to pass the information through a separator (, |), but I didn’t want to keep giving it…
-
-1
votes1
answer64
viewsFilter with select using Javascript and php
Hi, I’m trying to make a filter according to the option that is chosen in a <select>. I have a button that executes the function created in javascript. I have variables declared in php, and I…
-
3
votes1
answer4507
views"error: 'string' does not name a type" when declaring strings
Follows the code class Nome { public: Nome(string nome, string sobreNome); void exibirNome(); virtual ~Nome(); protected: private: string nome; string sobreNome; }; Error error: expected ')' before…
-
0
votes3
answers524
viewsCount without using rowCount from PDO
I’m new to PHP PDO, I’m using MVC and I couldn’t do the line count on database using $obj->rowCount(); Just follow my code php model.: public function read($table, $fields, $where = null,…