Posts by Jonathan Willian • 89 points
12 posts
-
0
votes2
answers151
viewsA: Validation PHP numeric field
Try something like that: function valida_valor2($str) { $count = strlen($str); if (($count > 19) OR (!is_numeric($str))) { return "INVALIDO"; } else { return $str; } } if…
phpanswered Jonathan Willian 89 -
0
votes3
answers816
viewsA: Center Vertically
You get this effect by using table, I don’t know if this fits what you’re developing, but it works like you’re wanting it: <table> <tr> <td valign="center"> <img…
-
0
votes2
answers44
viewsA: Return URL that is fixed
One way to do this using javascript would be like this Your HTML <input type="file" name="inp_img" id="inp_img" accept="image/*" onchange="javascript:upload_logo();"> Your javascript function…
phpanswered Jonathan Willian 89 -
1
votes1
answer346
viewsA: Modal does not open in the second click
You are using Bootstrap, you do not need to create a js function to open your modal, because Bootstrap itself already offers this. For this modal of yours the button would look like this: <button…
-
2
votes1
answer128
viewsA: Help with bootstrap layout
Instead of using a list, in this case try using a line(Row), something like this: <div class="container-fluid" style="padding:0"> <div class="row breadcrumb"> <div class="col-md-10…
twitter-bootstrapanswered Jonathan Willian 89 -
0
votes2
answers649
viewsA: Check the form to see if password entered is easy
Maybe this can help. In your HTML: <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <div class="container"> <div class="row"> <div…
-
0
votes1
answer37
viewsA: SDK problems in Fedora Workstation 24
The solution was, in the terminal of the following command: nano ~/.bashrc Replace the last four lines by: export ANDROID_HOME=/<installation location>/android-sdk-linux export…
-
0
votes1
answer37
viewsQ: SDK problems in Fedora Workstation 24
A few days ago I installed Fededora 24, with all completed I installed Ionic and Cordova, and soon after JDK. Ao gives the following command ionic build android I checked that SDK was missing,…
-
0
votes1
answer47
viewsA: Problem sending multiple emails
The solution was to replace the counters with variables, thus taking them out of the loop. The code looked like this: <?php $ano = date('Y'); //verificação de evento $evento = $_POST['evento'];…
-
0
votes3
answers1486
viewsA: Send form with ajax and return errors in a div
I usually wear something like this: <div id="alertaConflito" style="display:none;"><a href="javascript:void(0);"> <strong id="vaimsg"></strong> </a></div>…
-
0
votes1
answer47
viewsQ: Problem sending multiple emails
I got a problem, I made a script to send multiple emails, the problem is that it only sends to the first result of the select,and out of the loop without sending to the missing ones, below is the…
-
1
votes1
answer1567
viewsQ: Insert data into Mysql database received from a Json
I have the following problem, I have an app and I send some data in Json format, to the server, until ai blz, enough good in this format:…