Dropdown with Search Box using Bootstrap Selectpicker not working

I’m trying to search for supplier from the database using the bootstrap-select picker on the dropdown. What I want is while typing in a letter, the dropdown shows the relevant name from the database. …

How to copy multiple text input to clipboard

I have already learned how to copy a single text input to the clipboard. However I can’t seem to figure out how to copy multiple text inputs to the clipboard. Can someone please help me figure this …

Laravel How to set default time as today in daterange filter and how to display the data?

Hi i want to set value of my daterange filter as real-time like today is 5 April 2021 so the default of my daterange filter become from 5 April 2021 to 5 April 2021 and also display the data from my …

Is there any method to pass live data from one Browser tab another Browser tab by using Javascript

I created an increment and decrement program but in that, I want to pass data from 1st Browser to 2nd Browser(one tab to another tab). In Index.html there are two buttons for incrementing and …

Putting php arrays into html tags

I am trying to make a table that has different colors for each of its columns. There will be four columns. $colors = array(“background-color:red;”, “background-color:gold&…

Generate a pyramid using PHP For Loop and HTML

I made a script where it creates a pyramid using a php for loop and html table elements, but the pyramid isn’t how I want it yet. The code: <?php echo "<table width=400px"; echo "&…

Force to open back camera on iPhone

I have this in my html5 <input name="photoAutomatic" id="automatic" type="file" capture="user" accept="image/jpeg" class="btn btn-primary mb-2 …

Can I pass a variable into an if(isset($_FILES[‘whatever’])) logical process?

I am new to PHP and am trying to create a page which will change/update/refresh depending on which form buttons are selected. This part works. The purpose of the site is to allow multiple file …

I can’t pass a variable through the include statement

I’m just starting with PHP and I’m doing a sign-up form that passes the information to the register.php file and then the script in that file checks if the password field value equals the confirm …

Writing HTML / PHP Code inside an input/Textarea

I have found out that if a user writes in an input php/HTML code the code will excecute in my admin panel. Can this damage my system ? And if yes how can I disable it? I will appreciate any answers!