Say I have a form field where I input any text(numbers,text,symbols, or mixed). I want to encrypt that input into 16 characters long encryption string that includes at least one uppercase letter, one lowercase letter, one number and one special character?
How can that be done? Also I want to decrypt it back to original input as well. Can that be one?

You know when you type text into a form input and it automatically types the same text in another div? Well I am trying to do the same thing but instead show the same text value from the div 1 to div 2.
Here is my code. It works with the input text field but not with the textarea. Can you tell me why?
<input type="text" name="title" id="title" value="" maxlength="55" />
<textarea name="details" id="details" value="" maxlength="160" ></textarea>
<!-- Values show up in these inputs -->
<input type="text" name="seo_page_title" id="seo_page_title" value="" maxlength="55" />
<textarea name="seo_page_description" id="seo_page_description" maxlength="160" ></textarea>
<script>
$('#title').on("input", function() {
var dInput = this.value;
console.log(dInput);
$('#seo_page_title').val(dInput);
});
$('#details').on("input", function() {
var dInput = this.value;
console.log(dInput);
$('#seo_page_description').val(dInput);
});
</script>

Hi guys,
I've a little problem i have a fileld in my database that i want to check. If is null to display some text else display another text. I've manage to do something like this but doesn't work. The code is below:
<?php
$result = @$mysqli->query("SELECT * FROM depanarecuora_clients WHERE paid_status = '$paid_status'");
while ($result = mysqli_fetch_assoc($result))
if (is_null($paid_status)) {
echo "some text";
}
?>