Posts by PLINIO RODRIGUES • 45 points
9 posts
-
2
votes1
answer137
viewsQ: echo "<script>" does not work
Good evening, I am trying to do a check on my website. If the customer balance, that is set by a $_SESSION. If it has a balance less than the price of the product, it would have to do this: $saldo =…
phpasked PLINIO RODRIGUES 45 -
0
votes2
answers41
viewsA: Doubt about functions in php
Functions, even if declared, are not automatically invoked/initiated. You should call the function in the part of your code where you need it. Using your code as an example: public function…
-
0
votes1
answer32
viewsQ: Fetch integer value in BD
Good afternoon, I’m trying to query an entire value in my BD and save it in a variable, I tried this way: $procuraPreco = mysqli_query($connect, "SELECT preco FROM infs WHERE seis='$seis' and…
-
0
votes1
answer39
viewsQ: Sent POST text "<td>" via AJAX
Good afternoon, I have this code: <?php foreach ($resultado as $row) { ?> <tr> <td class="seis"><?php echo $row['seis']; ?></td> <td class="ban"><?php echo…
-
0
votes2
answers60
viewsA: Connection to database on Amazon
You can try this two simplified ways echo $conn = mysqli_connect("127.0.0.1", "usuario", "senha", "nome db") or die("Connection failed: " . mysqli_connect_error($conn)); or: echo $conn =…
-
1
votes0
answers26
viewsQ: Recaptcha bugando
Good night, I made this code: if(isset($_POST["user"]) && isset($_POST["senha"]) && isset($_POST['g-recaptcha-response'])) { $res = $_POST["g-recaptcha-response"]; $curl =…
-
0
votes1
answer236
viewsQ: How to list Rows <table> values
How can I list column values in a "<table>" ? I want to list all Rows values in <tr> as shown in the image Table code: <table id="datatable" class="table table-striped table-bordered"…
-
-2
votes1
answer34
viewsQ: Opening outer page without refresh
How can I show a link or div by clicking one without refresh on the page <li> <a data-toggle="collapse" href="#pagesExamples"> <i class="pe-7s-gift"></i> <p>Comprar BCC…
-
1
votes1
answer548
viewsQ: Check whether double variable is empty or numeric
How can I check if the variable a, b or c were not informed, and if in case they were not informed return all the code ? How can I also check if the letter "x" for the variable was entered in the…