I’m trying to POST to a database an image in the form of a base64 string. Up to now, I’m able to turn it into an object inside a tag in HTML. There are two methods which I’m trying to implement, none of them I’ve had success. I think I’m misunderstanding how to perform a ..
Category : html
How can I display a PHP session variable in an html file? I am redirecting users to random html pages without repetition, and for each page they see I would like the page number to increase by 1. I’ve started a session on the PHP file that succeeds the first HTML page and I have ..
I’ve been trying to use a php variable inside a JS script to no avail, I’ve read three threads including: how to use PHP variable in Javascript Access PHP variable in JavaScript How to access PHP variables in JavaScript or jQuery rather than <?php echo $variable ?> But I still cannot manage to make it ..
body { vertical-align: center; margin: auto ; width: 90%; } div { display: inline-block; margin-top: 30px; margin-right: 50px; width: 300px ; border-radius: 15px; border: 1px solid rgb(218, 218, 218) ; background-color: rgb(218, 218, 218) ; padding: 8px ; text-align: center; } input { float: right; } div:hover { background-color: rgb(190, 180, 180); } <!doctype html ..
The botman widget appears okay but when i open it to view the chat frame it gives error 404 inside the chat frame. This is the part where i declare the botman widget <script> var botmanWidget = { frameEndpoint: ‘configbotmanchat.html’ aboutText: ‘ssdsd’, introMessage: "✋ Hi! I’m form ItSolutionStuff.com" title: ‘BotMan’ }; </script> <script src=’https://cdn.jsdelivr.net/npm/[email protected]/build/js/widget.js’></script> and ..
I am trying to extract info from a raid. The script that I have is called inforaid.sh as it follows: #!/bind/bash readarray -t array <<< "$(mdadm -D /dev/md0)" printf — "%sn" "${array[@]}" > /var/www/teknikra/scripts/info3.txt This script works well when executed on the terminal. It creates a txt file in a specific directory. Then I can ..
Hi there fellow programmers, I want to create an login portal ran on your device that is encrypted. Can someone help me create one? I don’t mind if it is in PHP, JavaScript or HTML. Thanks! -Sam Sourc..
I am new to php and fpdf. I am able to display data from phpmyadmin in pdf but only first database entry. I am looking for a loop that pick each entry from database and create a new pdf page for that (in a single document). I am sharing my php code. It will be ..
So there’s no background image before playing a video on this website I made on mobile devices. This is the code I’m using in HTML <div class="row " > <div class="col-12 text-center"> <video controls> <source src="image3/video.mov" type="video/mp4"> <source src="image3/video.mov" type="video/ogg"> </video> </div> </div> This runs fine on my laptop it’s just on my phone that ..
How to have only 3 checkboxes per line with dinamic checkbox number, for example I have 21 checkboxes (read checkbox name form a database) This is my code <div class=’form-group’> <div class="col-lg-12"> <?php $sql = "SELECT id, posizione, nome FROM user_livelli"; $result = $conn->query($sql); if (!empty($result) && $result->num_rows > 0) { // output data of ..