Skip to main content

All Questions

Tagged with
38,780 questions with no upvoted or accepted answers
5 votes
1 answer
401 views

How to provide different sizes of images according to viewport size in WordPress?

May be a very basic question because of the less understanding of the procedure, but what I believe is NO question is less important. In WordPress we have 4 default sizes: Original (as it's ...
Mayeenul Islam's user avatar
5 votes
2 answers
3k views

How do I prevent mobile devices from automatically downloading a PDF on my website?

So I've got a part on my website where I show a pdf in an iframe. This works perfectly fine on computers. However, some mobile devices start downloading the pdf immediately when they load the website....
Chris's user avatar
  • 443
5 votes
3 answers
2k views

Inserting data to the database with dynamic fields

I am working with dynamic text boxes. I want to add the data that is entered in the text boxes to my database. My markup: <form name="reaction" id="reaction" method="post" action="./send.php">...
the_boy_za's user avatar
5 votes
2 answers
128 views

I need to quickly remove a set of classes from an arbitrary string of html

The HTML is run through a purifier first (tinyMCE+Wordpress), so it should match somewhat standard forms. all script and style tags are stripped, and all data inside tags is html_encoded, so there ...
Greg Schoppe's user avatar
5 votes
5 answers
5k views

XML Parsing - PHP encoding

I have a big XML (>15Mb) and i have to read it, parse it, and store some values in a DB. My problem is, the XML's come in in differents formats (UTF-8, ISO-8859-1). With UTF-8 no prob. But ISO-8859-1 ...
Nacho's user avatar
  • 2,057
5 votes
3 answers
2k views

Is there any alternative attribute for dir=auto in IE

We have to show some text which may be in English or Arabic in Page. we are facing problem with text direction. For English the direction will be left-to-right, for Arabic the direction would be ...
user2653280's user avatar
4 votes
0 answers
627 views

Make Link For Open Gmail Application and Search Email

I am looking for create link which can work for open android gmail application and search email which sent by us. I have link for desktop browser like below https://mail.google.com/mail/u/sample@gmail....
Vidhi Sharma's user avatar
4 votes
0 answers
224 views

How to use HTML5 SSE with PHP and python

I want to check simple if my API endpoints are alive but I got back Firefox can’t establish a connection to the server at myURL error, I'm on 94.0.1 (64-bit) windows edition, which is based on this is ...
alma korte's user avatar
4 votes
1 answer
1k views

Wrap TinyMCE 'table' in div''

Is there a way to wrap a <table> in a div with TinyMCE? Preferably something natively by extending TinyMCE, I know I can get it to work with pure JS. I was attempting to do something like this ...
IHIutch's user avatar
  • 81
4 votes
1 answer
1k views

Sending email, html > jQuery > PHP

I'm trying to send an email to myself with the text that has been entered in the textbox. <form class="form align-center" id="mailchimp"> <div class="row">...
Ethercloud's user avatar
4 votes
0 answers
236 views

How to fill a HTML SELECT based on user Geolocation

I'm trying to create a simple HTML form with a Select in which the options given are based on the user's Geolocation. The Select should show the options based on the distance between you and the, ...
M.vankekeren's user avatar
4 votes
1 answer
2k views

WebP fallback images not loading

I'm using a <picture> tag to set a responsive image with WebP support. I'm pulling a desktop image and mobile image URLs that have both .web and .jpg files. for each media, I'm giving the .webp ...
AssafA's user avatar
  • 41
4 votes
1 answer
144 views

Pass database data to several divs from one loop with php and laravel

I have a paging setup, which can be shown as such: <div class="page__A4"> </div> <div class="page__A4"> </div> <div class="page__A4"> </div> Data is then passed ...
ok34332's user avatar
  • 71
4 votes
1 answer
392 views

How to add HTML to head tag in MediaWiki without using an extension?

I desire to add HTML to the head tag of all web pages of a MediaWiki (1.33) website I have. I found no documentation (or no clear answers in QA sessions) about how to do this. This brought me to try ...
user avatar
4 votes
0 answers
69 views

Filter paginated list on Laravel 5.4

I would Like to paginate and filter a list. But the problem is that I lose the view of the paginator element. It is gone when I filter a link like this: <a class="dropdown-item" href="{{route('...
Fernando Pie's user avatar

15 30 50 per page