I have a problem when I click on the submit button there is nothing happened and my data is not being inserted into the database. I’m trying to make a registration page(register2.html) and db_reg.php …
Tag: html
Foreach loop returns only first index on multidimensional array PHP
Let me explain my situation, I’m making a mailing template for my company. This mailing template has to be completely in HTML. The mailing template contains different products from our shop. The …
While Loop displays arguments inside the first argument
I have a while loop created to display all my wordpress posts. The issue is that all the posts (except the first) appear inside the first post. I’ve check my div structures and I couldn’t find any …
Laravel set option to selected if option id is in an array list in blade view
I made query in my controller and send it to my blade : public function editContractorAssociation(DeveloperContractorAssociation $developer_contractor_association, Request $request) { $id …
How to echo php string with special characters inside javascript function parameter
I have a button on my website that triggers an onclick event with the following function onclick=” updatePage(”,”,'<?php echo $…
How come I am unable to get the output for tax for my code?
Write a function to compute the discount and tax when you pay for a shopping items in a shop. Discount is 20% if the total order > $200, else the discount is 0. Tax is 7% of the total order after …
enable/disable generated input by array with relevant checkbox jQuery
How can I enable input field generated in result of a loop from array along with checkbox. I trying to disable the generated input fields and enable the one only when particular corresponding checkbox …
Going back one directory without wanting
I’m colaborating with another person and just got their code, when I try and run it nothing loads because all file names are going back one directory like htdocs/dir/index.php if i try in php …
jQuery dynamic sortables with nested sortable items
Dynamic Sortable Codepen Version Description I have a problem with a dynamic sortable list, which elements should also be sortable. The problem is, that each element in the list is dynamic, as it will be cloned from a template div and appended to document. Issue Currently the blocks (.pb-row) are sortable jus…
Error when trying to get Instagram Embed page HTML code
I’m trying to get the HTML Code of the Instagram’s Embed pages for my API, but it returns me a strange error and I do not know what to do now, because I’m new to PHP. The code works on other websites. I tried it already on other websites like apple.com and the strange thing is that when I ca…