All Questions
14,609
questions
0
votes
0
answers
3
views
How Do I make my sliding login/register page display the correct container
I Basically copied one of those sliding login/register pages, customized the CSS a bit and now I started doing backend for my project, I got to the part where I want to redirect users to register, but ...
-1
votes
0
answers
32
views
How can I enhance the CSS styling of a table in my PHP admin dashboard? [closed]
Description of the Issue:
I'm developing an admin dashboard using PHP and MySQL for an e-commerce application. The dashboard includes a table displaying product information, but I'm encountering ...
0
votes
0
answers
23
views
The second pop up button is displaying forbidden error in php
Trying to do two difference frame.src in the script but still not working.
If I change the file path which is `/qcpl/Backend/ to another filepath, it hiust changes the filepath of the first popup ...
-3
votes
0
answers
35
views
Troubleshooting Redirect Issues and Server Errors on a PHP and Laravel Website [closed]
I've created this website: www.earnesly.com However, I've been experiencing issues where the page sometimes redirects unexpectedly, and I often receive 502, 500, and 504 errors. Despite my debugging ...
-8
votes
0
answers
32
views
I got an error while sending notification [closed]
Can I ask? I coded the bot using JavaScript, but when I tested it, it said it was normal, but when I uploaded it to Git, it got an error, why?
Can I ask? I coded the bot using JavaScript, but when I ...
-1
votes
0
answers
21
views
how can i show Multiple Images of Products inside the database mysql using php js [closed]
Only 1 image from the database is pulling inside the modal which is the class= "main-image"
<?php
session_start();
// Check if the user is logged in
if (isset($_SESSION['username'])) {
...
1
vote
0
answers
49
views
Dompdf not rendering display: flex correctly in generated PDF
I'm using Dompdf to generate PDF invoices from HTML templates in my PHP application. The HTML/CSS template includes display: flex for layout purposes, but when rendered into a PDF using Dompdf, the ...
-1
votes
0
answers
34
views
menu under the admin folder not working in live [closed]
In the menu under the admin folder, the index.php file is not working. It does not get a path. It shows a blank page.
But in the Localhost it's working properly. In live its create problem
<a class=...
-1
votes
0
answers
35
views
How can I create a file directory website [closed]
I am trying to create a website that is aimed at allowing the user to download a file from a directory/index of files on the website.
Is there a shortcut to creating a website like this from existing ...
0
votes
1
answer
41
views
How To Add Link With Thumbnails In Sidebar In WordPress
I'm trying to add few manual links with thumbnails in sidebar using Custom HTML Widget. The thumbnail images are unclickable as I do not know how to make them clickable. My main problem is that when I ...
-1
votes
1
answer
44
views
Adding CSS class to element with PHP for what time of day it is
Okay, so I asked this question before, but I really did a terrible job explaining myself & may have even annoyed some folks. For that, I am sorry. So let me explain the issue better.
I have a ...
1
vote
2
answers
51
views
How to load css files in code igniter 4, but not from public folder
I want to load css file from app/asset/css/tes.css This is my css file
This is my controller
This is my route
This is my view
I tried many ways but still couldn't. Please help me
I want to access the ...
0
votes
0
answers
40
views
Move the color and size table to be under the product tilte on Mobile Version
I am having a problem trying to figure out why on my mobile version. The table for color and size variations watches is above my title. On the website and the desktop version It looks perfectly fine ...
0
votes
1
answer
32
views
Problem displaying an img when i upload the file
I am learning php and i am facing a problem. I am creating an upload form and when i upload a pic it doesn't appear automatically on html form.Below i am posting both html form and php code to help me....
0
votes
0
answers
20
views
CSS scrollbar-gutter causing STATUS_BREAKPOINT on partially loaded page
I think that I just discovered a very specific CSS bug which I'll try to demonstrate:
I have "scrollbar-gutter: stable" set to a DIV element.
I use JS to load cached HTML content to the DIV ...
1
vote
0
answers
38
views
Rotating a Barcode in TCPDF when embedded in HTML
Im generating a PDF in PHP with a barcode. Within the document, I need one vertical barcode and one horizontal.
Heres my sample code. The barcodes generate fine.
$data = $pdf->serializeTCPDFtag('...
1
vote
0
answers
44
views
AMP buttons by location
I'm working on a project (AMP website) where I have buttons that should only show up at certain locations and be hidden at other locations. However, I'm struggling to make each of the selected ...
0
votes
0
answers
41
views
Strange behavior of google-revocation-link-placeholder link/message
I'm trying to understand what is causing the Google Adsense Conesnt message to go 100% wide, across the whole screen, instead of placing the cute little tab to the bottom left of the screen on my ...
1
vote
1
answer
83
views
Where does the phpinfo() function get it's structure?
PHP Version: 8.2.12
I have been looking for the HTML structure of:
<?php
phpinfo();
?>
I know the details of the call comes largely from php.ini on my web server, but I can't figure out where ...
1
vote
0
answers
37
views
Is it possible to user filter_input together with htmlspecialchars?
I am reading about FILTER_SANITIZE_STRING being deprecated so I am looking for the best option to filter inputs for security reasons to prevent mysql injections and xss injections too.
My users will ...
0
votes
0
answers
43
views
I put a static popup for details view but it's not work for dynamic
I put a static popup for details view but it's not work for dynamic. please tell me the solution for this.
these are the screen shots in website popup page,
menu
when we click on the substation in ...
1
vote
1
answer
72
views
Cropperjs or Javascript issues uploading cropped image to the server with php
Please help me with this:
<h5 style="color: <?php if (isset($color)) { echo $color; } ?>;"><?php if (isset($statusupload)) { echo $statusupload; } ?></h5>
<...
0
votes
0
answers
23
views
Repeater ACF WORDPRESS is not wordking
<?php
// Check rows exists.
if( have_rows('accordion') ):
// Loop through rows.
while( have_rows('accordion') ) : the_row();
// Load sub field value.
$sub_value1 = ...
0
votes
2
answers
38
views
Ajax request not completed, values not reflected in database
I am trying to create editable table, I am using ajax request for the same by following a tutorial over youtube, but the ajax request to save the changes after editing the table seems to fail, please ...
0
votes
3
answers
139
views
How To link custom fonts in function.php file
I'm Trying to add custom fonts in my WordPress development theme, but I got fatal error here how I add it
/// Register fonts.
Wp_register_style('font-awesome', get_stylesheet_uri(), [], filemtime ...
1
vote
1
answer
26
views
Problema using a style.css for my website theme
I'm creating my website in on Wordpress.com and I'm implementing my theme.
I created a folder in wp-content/themes/mytheme and in this folder I created an index.php and a style.css.
Basically my style....
0
votes
0
answers
14
views
Dompdf Chinese character shows only on static [duplicate]
I am using dompdf library to create pdf. I need to use Chinese character. Statically it is printing Chinese character in pdf. but dynamically it doesn't come. my font family is SIMSUN. I do have ...
0
votes
2
answers
92
views
Form Numbers as Images
So essentially I haven't found a way to be able to have my dice rolls (represented by a form box with randomised digits from 1-6 (inclusive)), represented as images instead of number, however I do not ...
0
votes
1
answer
40
views
Tagdiv Composer crashes when adding woocommerce shortcode
I am use wordpress and using the newpaper theme. I added the woocommerce shortcode ([products limit=”4″ columns=”4″ orderby=”id” order=”DESC” visibility=”visible”]) and got this error. If I save and ...
0
votes
0
answers
51
views
Why do the buttons in my loop output only affect the first output div of the loop?
I need help. I want to display user post headers with a dropdown menu. However, when the dropdown menu icon is clicked, it sends the data to the first output of the loop. The listener picks the ...
0
votes
0
answers
41
views
Problem regarding the a navigation bar page option
So i have a few issue regarding my website development question.
This is how the page should look like
This is the page i am currently facing some issues
Problems:
1)When i select between Dashboard, ...
-1
votes
1
answer
45
views
How to create an animation whenever i restart my website in javascript? (no jQuery pls)
I'm working on a plant atlas website. It uses database so some of the code is in php.
Im trying to make a transform: scale() animation whenever my website is reloaded, after hours of failing to do so, ...
0
votes
1
answer
57
views
css.file in sub folder is not linked correctly
I restructured my project and experience problems when it comes to the link of my .css-file
I am using xampp/Apache
The .htaccess file is in ".../htdocs/project" including "RewriteCond ...
2
votes
0
answers
30
views
html to PDF with new page detection
I'm writing a PDF document using html. The PDF have multiple pages and the length of each page can vary. I would like to show an image at the start of each page. For this, I need to detect when there ...
0
votes
1
answer
25
views
Image Cropping issue using bootstrap
I am currently facing an issue regarding image sorting using boostrap blade.php file. I am looking to sort the images neatly in my website but it seems that some images have partially cropped out, and ...
0
votes
1
answer
47
views
Store in Prestashop (1.7.5) does not recognize theme or images
I have created a multi-store in Prestashop (1.7.5), the problem is that every time I add a new store to the multi-store it is created without any style or functionality, I will attach a photo of how ...
0
votes
1
answer
30
views
Spinner Loader Fade out Adjustment Problem
I am creating a spinner loader for the website. So i have an issue in the fade out. There are some images in certain webpages section that will be displayed. And the issue i have is for the main page, ...
0
votes
0
answers
27
views
PHP validation errors display on a blank page, not the one that i designed
When I clicked on submit button, the validation works but it doesnt display on the designed page. But it is still in the same file directory
the form
validation output
it is still the same file but ...
-1
votes
1
answer
173
views
How to make text bold in PHP?
I want to display my text as bold inside php echo code and also wanted to increase font size, but its not working. can any pone guide me what wrong in my code how to make it work ??????
below is my ...
1
vote
1
answer
29
views
How to switch tabs using a URL link (mdl)
Please tell me how to switch tabs using a URL link?
I need to get a direct link to a specific tab
<div class="mdl-layout__tab-bar mdl-js-ripple-effect">
<a href="#fixed-tab-1&...
0
votes
3
answers
49
views
How can onmouseover event loop through a PHP foreach loop?
I have this snippet of code below in which what I wanted was when I hover through a table header, the whole column below it will change its background color. My code seem to only change the first ...
1
vote
0
answers
43
views
Is it possible to add one (or more) value per button click to the same row of a table then switch to the next row on the last button?
I am trying to build an application that would mock clocking in and out of a job and store the information in a data table. Right now my process is one button to enter, one to start lunch, one to ...
0
votes
1
answer
57
views
How do I echo a PHP variable into a href attribute for a stylesheet
I have these three files:
index.php
<?php include('variables.php') ?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>TestWebsite</title>
<link ...
1
vote
1
answer
23
views
how to stop dynamic resizing of the select picker
this is first screenshot before selecting option in select picker
This is second screenshot after selecting option in select picker
<div class="form-group" >
...
0
votes
1
answer
83
views
I made a simple website using html,css and php. Website works fine when opened directly in browser but fails to load on local server
I have created a simple website using HTML, CSS, and PHP. When I open the .html file directly in my browser, everything works perfectly. However, when I try to load the same website on my local server ...
0
votes
2
answers
70
views
Problem with dividing pdf page into two in php using dompdf
The following code is from my resume.php file. I have tried to divide the page into two blocks each represented using (.left) and (.right) class. Content on left block is being displayed but on the ...
0
votes
1
answer
45
views
How do I get a login page to work as intended?
I have this code (html):
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-...
0
votes
0
answers
120
views
Difficulty Accessing PHP Files in Vercel Deployment
I'm encountering an issue with my Vercel deployment, specifically related to accessing PHP files. I'm currently in the process of deploying my PHP project on Vercel, and while it's not perfect yet, my ...
1
vote
1
answer
139
views
How to change the color of the winning tic tac toe squares in php?
I have a tic tac toe game in PHP that uses an array of three arrays and displays the winner (or tie) upon completion. There's a play again button that also resets the board.
How can I make it so the ...
0
votes
0
answers
34
views
WooCommerce cart table summary
I'm looking to change the table summary like image size and the position of it want and other in table want to add an icon to the remove item like that, but I'm trying to get around it for 2 days ...