Posts by Expl0it • 171 points
9 posts
-
0
votes3
answers737
viewsA: Save auto_increment id of a table to another table in the same file
The solution was to invert and use mysqli_insert_id($con) saving in a variable before executing the query of the second table: $ID = mysqli_insert_id($con); Thank you!…
-
1
votes3
answers737
viewsQ: Save auto_increment id of a table to another table in the same file
I want the value of ID automatically generated in auto_increment in the table wpne_posts is saved in another table called wpne_postmeta The INSERT code of the first action is: mysqli_query($con,…
-
1
votes0
answers88
viewsQ: Connect to the database via browser console
I have a JS application that runs via browser console. I would like to know the possibilities of sending and receiving data via mysql via the Console. I don’t know if it’s possible either. I tried…
-
3
votes1
answer1397
viewsQ: Open camera/file by Webview
I made an application to open my responsive site using Webview from Android Studio. Wheel ok, but when I need to send some file through the site, take a photo and save, do not open the camera!…
-
5
votes1
answer4812
viewsQ: Comma calculation in PHP
Need to multiply the value received from post form Ex: $height * $width * 45; So far so good, but if the user type a value with comma, the sum does not happen. I need the sum to happen both ways,…
-
0
votes2
answers201
viewsA: URL rewriting in . htaccess
# Ativamos a reescrita RewriteEngine On RewriteBase / # Alterar URL RewriteRule ^assets-teste /application/views/ambiente_teste/assets-teste/ [NC,QSA,L]
-
-3
votes1
answer1958
viewsQ: Receive input value and pass the URL
I need to pass the selected value on a Bootstrap datepicker to the URL, but when I click to run, nothing happens: <?php if(isset($_GET['start_range'])) { $start_range = $_GET['start_range'];…
-
-3
votes1
answer140
viewsQ: Password-Master with PHP
I would like to know how to create a master password in PHP that can be used to ensure access to a certain resource protected by authentication, independent of the informed user.
-
5
votes1
answer421
viewsQ: Save compressed file to another directory
I have this function that makes the .zip of the current folder to save. But I want you to save to the folder backup. $data = date("d_m_y"); $exten = "_backup.zip"; // Nome final com extensão class…