im building a simple webpage for school. Sadly ive got several problem. Im using an Apache Webserver with XAMPP. I got a JSON-File like: This file is on my Webserver too. I want to load this file especially with XHTML Request and then want to print several parts of this JSON File into HTML/PHP Code. I watched a lot of
Tag: html
How to reference a custom product type value in HTML/PHP (WordPress & Woocommerce)
I have a custom button that instead of the ‘add to cart’ button. It should open a link to the brand: id=’_brands_link’ and in the button, and after “Bestel bij” there should be the brand name id=’_brands_name’ (see the created fields in the bone product): I have a function of this buttons now: So in action instead of https://www.google.com there
Customize WordPress WooCommerce checkout page and Payment processing style
I am trying to edit my Wordpress WooCommerce checkout page to remove the space above the PayPal checkout buttons but I don’t know where I should start off. I feel like this can be easily done just by editing code but I’m not really familiar with HTML and CSS. My website My website checkout currently looks like: My website is
How to prevent “my own” javascript code to open a new window?
This one is hard… I have this task to build a module for a big system made with PHP. The most important rule is that I can’t touch the code of the core system, so I can’t fix some of it’s bugs. The main service of my module is to create a custom document that is not edited by the
Change which a-tag is highlighted depending on active page
So I have a menu with different items The class=”active” highlights the menu item, and I was wondering how I could make this class change depending on which page I was on. So if the user visited Archives, then that has class=”active”. The class is just a simple color All my html code is run inside php files. UPDATE Might
Challenge to uniquely identify a computer from any of its browsers
In an HTML5 web app, I’m building a feature that relies on client-to-client communication (with pusher). It’s made of PHP on the server-side and Javascript with Vue on the client side. The typical scenario is: a window popup is opened, and from there it communicates directly with some other windows opened into any another browser on the same computer. Let’s
i want to increment my result on every using dompdf laravel
Hey friends, if some 1 know how can i increment every in this . **i want to get : 7313 – 7314 – 7315 7316 -7317 ….** ( am using dompdf laravel) ( i already triend to use just 1 in and i use (display:inline;) for but that doesn’t work with dompdf so i am trying this solution Answer if
Trying to learn php with html but I am having trouble submitting a form with a variable that is given by some javascript?
In the Html code below I grab the Ip address of the client and display it to them. I am still learning Javascript however and I am very confused with the line “$(“#gfg”).html(data.ip);” How would you rewrite this line to be more understandable? Additionally within the html file I would like to submit the information contained within gfg to the
How to remove HTML tags as well as HTML content within a string in PHP?
I have a .txt file. Using the following code I read it: Now from the retrieved string I want to remove not only the HTML tags but also the HTML content inside. Found many solutions to remove the tags but not both – tags + content. Sample string – Hey my name is <b>John</b>. I am a <i>coder</i>! Required output
Generate markup based on multidimensional array
I have the following multidimensional array: I’m trying to loop through the array and create cards with the above. Here’s how I’m looping through the array: The above loop renders out (for one item in the array): As you can see, it’s generating a separate productCard for each key. The output I’m looking to achieve is: Where am I going