Posts by LeandroFalasca 1 • 11 points
6 posts
-
-2
votes2
answers116
viewsQ: To disable textarea when select is set to value false
I would like to disable the textarea if select is false, and enable if select is true. I was trying to do for DOM, but I did not succeed, below this code I have, in case someone can help me. <div…
-
0
votes1
answer101
viewsA: Embedded iframe from another site - 100% of the screen
You can use 'overflow: auto' as in the example below it will open a scroll bar where it will show you all the input text or if you prefer with 'overflow-wrap: break-word' Voce will break line.…
iframeanswered LeandroFalasca 1 11 -
0
votes1
answer66
viewsQ: How to remove PHP Randomization encryption
I have a code but every time when updating the page it generates a random encryption key, I would like to know how to leave it to generate a unique key for each url, below follows the code: $gKey =…
-
1
votes1
answer361
viewsQ: How do I leave NULL if $_POST is empty in the Mysql database?
Is there any way I can leave it as null fields that have not been filled in? When creating the table, fields have already been defined as DEFAULT NULL, but while doing the Insert - in the database…
-
0
votes0
answers187
viewsQ: How to view MYSQL data in Value within input
This is my PHP code: $result = mysqli_query($conn, "SELECT * FROM config WHERE id IN (1,2,3)"); $sdda = mysqli_fetch_assoc($result); This is the HTML: <div class="col-sm-12 col-lg-6"> <div…
-
-3
votes1
answer109
viewsQ: Is it possible to verify that two variables are defined in an easier way?
I receive by the form via POST the fields sd and video, need to check if both are set. I currently do the following: <?php if (isset($_POST['sd'])) { $sd = $_POST['sd']; if…
phpasked LeandroFalasca 1 11