6,574 Topics

Member Avatar for
Member Avatar for borobhaisab

Hello, One of the following code got htmlspecialchars. Which code is correct out of the two ? Both codes build pagination section. Need to add security so users cannot sql inject. Not using http_build_query function here as I want to build a pagination section without it and already built one …

Member Avatar for Dani
0
100
Member Avatar for beyermusic2

I am new to html and css. I am putting together a project to display favorite singers and favorite movies. I am getting errors in the code. They are: I have been trying to find answers but need a little help. Any help would be greatly appreciated. ✗ The photo …

Member Avatar for Dani
0
1K
Member Avatar for beyermusic2

The child selector simply refers to the NEW word in the word in the center-text class. The h2 must be singled out as child. Here's task - Add a CSS rule for all span elements that are children of h2 elements that sets the text color to #FA9F42 and its …

Member Avatar for Dani
0
3K
Member Avatar for beyermusic2

It uses a span tag in the html. The idea is to style the word NEW in the style sheet as a child. I havre code to post but how do I do it correctly?

Member Avatar for Dani
0
105
Member Avatar for blockchainc
Member Avatar for mtyide

I need a quick solution that will convert HTML doc to PDF and still maintain the same look and feel with pre-populated data and also maintain links in the PDF doc. Any solutions?

Member Avatar for Dani
0
168
Member Avatar for larry29936

I want to set a max width for all pages on a web site but have no idea where to set it in the CSS file. I tried setting it in both the body section and the html section without success. I'd appreciate some help on this. Thanks in advance.

Member Avatar for mtyide
1
591
Member Avatar for Dani

A little while ago, I wrote a [tutorial](https://www.daniweb.com/programming/web-development/tutorials/537376/sanitize-php-user-input-strings) about how important it is to sanitize PHP user input strings. Not only is it important to sanitize user input being fed into a database query, but it's also important to sanitize user input being displayed to the end-user to generate valid …

2
278
Member Avatar for badmullah_1

hi I need your help if you know JS to fetch 3 values //value of JID2 input //value of slider //value of the NOTES but since JS is new to me i would need your help please. it is a form with a few controls that user can check , …

0
116
Member Avatar for Dani

To AMP or not to AMP, that is the question. For those who have decided to implement AMP (Wordpress users, I'm looking at you!), have you noticed a difference since doing so? For those of you who have chosen not to, what are your reasons?

Member Avatar for Dani
1
2K
Member Avatar for lisag6

Hi - We have this line ~Contact.FirstName~ in our subject line for an email. We need to add an 's at the end to make it plural. So it would read Joe's instead of just Joe.

Member Avatar for gce517
1
224
Member Avatar for ezeiruchibuike

Hello there, I created a "users" table on MySQL and created a few columns namely "accountbalance", "ledgerbalance" and "dailybalance" (all three: BIGINTs). I created a test user and added some random figures. I am trying to retrieve the value of this columns (unique to the user) and them pasted separately …

Member Avatar for Dani
0
465
Member Avatar for Dawn_5

/* CSS styles */ * { margin:0; padding: 0; border:0; } html, body{ background:url("/images/onebug2022heroimage.jpg")no-repeat center fixed; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; color:#000; } .wrapper{ max-height: 100%} header{ max-width:100%; background-color: #0000; /* padding-top: 5%;*/ padding-bottom: 0.5%; } .left-col{ max-width:35%; float:left; margin-left: 5%; margin-top: 2%;} .right-col{ width:70%; float:right; } …

Member Avatar for Dani
0
129
Member Avatar for nunos

Hi all. I have been doing some HTML scraping and today a fellow coder told me about this thing 'DOM' and how much easier it is to use it rather than manipulating strings as I have been doing. He doesn't know much about it, and that's why I came here …

Member Avatar for r8lst
0
810
Member Avatar for Douglas_17

i installed wamp on windows 11. i tested to see if php was installed by using command phpinfo and this worked. when i attempt to use php in html document the php echo statement does not work. i simply get the line of code (shows the echo statement). i have …

Member Avatar for gce517
0
63
Member Avatar for Irfan_9

Three if condition if(isset($_POST['search']) & !empty($_POST['searchdata']) ) if(isset($_POST['search']) & !empty($_POST['searchName']) ) Else each statement have the own pagination created now confusion for example first condition is true and three page is created when i click its goes to else condition and below 10 pages is created which is true in …

Member Avatar for AdamFriska
1
140
Member Avatar for jaswwjatin

please give me information, i want new php site, my idea this type site.i want ESPNCricinfo and Cricbuzz Navigation Tabs inside my post.i am not add live match and scorecard,i want similar tabs design (News,Videos,Your opinion or more) when i add posts. Remember i am not want espn or cricbuzz whole …

Member Avatar for Dani
0
39
Member Avatar for Josh Connerty

Hello All, I have a question regarding Gutenberg React. I'm familiar with React which is what leads me to not understanding how the process works. React can only render JSX but Gutenberg seems to render HTML (presumably by setting inner html dangerously), however it also adds event listeners to the …

Member Avatar for rproffitt
0
67
Member Avatar for larry29936

I’d like to force my code to pause after completion and before displaying a completion message. I’ve tried sleep and wait commands but they affect the start of running the code. I’ve searched the web for how to do this for two days with no success. The reason for wanting …

Member Avatar for Dani
1
157
Member Avatar for priyamtheone

In Microsoft Visual Studio Professional 2017, when I edit a JavaScript or CSS file, the Intellisense Quick Info for Members, Objects and other keywords don't appear. However, when I open the same files in Visual Studio Code 1.66.0, Intellisense Quick Info is shown properly. This results in me failing to …

Member Avatar for rproffitt
0
27
Member Avatar for cristian_12

I’m pretty sure I have the wrong or I am missing a correct relative address to get an image from a folder to pop up on my HTML page. I currently have <figure> <a href=“morel.jpg”> <img src=“morel_thunb.jpg” alt=“morel”> </a> <figcaption>a morel I found</figcaption> </figure>

Member Avatar for Dani
0
36
Member Avatar for UnabashedGeek

Who's up for a puzzle? About two months ago, I began to have troubles using the Town of Oakville's web site where I book fitness class spots. In places where there should be text, it's blank. My feeling is that this began intermittently, but I may be wrong. Today it …

Member Avatar for Dani
0
70
Member Avatar for Mr.M

Hi DW. Is there anyone who know how I can I develop an App that's like TeamView for Android so that I will be able to remotely access the phone via browser on my website? What I want to do is that instead of directly accessing the phone I want …

Member Avatar for rproffitt
1
101
Member Avatar for codingaspirant

**Issue 1:** I wanted to keep the alignment of `header` section with the Hero Image and `Headings`, `paragraphs`. But now the Logo and Navigation is centered and rest of the content is going out from left and right side. How can I move the logo to more on left side …

Member Avatar for larry29936
0
32
Member Avatar for pok4

Hello guys, I'm using mustache php template engine with classes. My system is extendable via extensions which is injected in basecontroller construct method... The extensions is working correctly, but in them i have html and js... I want to move html/js in external files but i need to works with …

0
75
Member Avatar for kenben10
Member Avatar for Dani
0
67
Member Avatar for hfortenberry

Hello, I have a Read More type of link at the bottom of a short list of test News items and am trying to center it horizontally under the list. I think I have the CSS correct but it appears something is inhibiting it. I know I've got the correct …

0
48
Member Avatar for Valeriia

Hey, I'm searching for a simple 2-level popup menu that could change color and size with the help of CSS. I want the menu to appear on the left of the page, be opened by clicking on the burger icon, and be closed by clicking the cross or someplace outside …

Member Avatar for AndreRet
0
92
Member Avatar for timlab55

Anyone can find a piece of code, cut and paste it. That's fine, as I do it. But I need to know the flow of how things work. Is there a short para that can explain it? Thanks

Member Avatar for Biiim
0
103
Member Avatar for igor_10

Hey guys I've a problem on my code, when I open my code on visual studio code, on live server system, the slide get column, but when I open the .html without the live server, the slide it gets in row. ![Captura_de_tela_2022-02-20_120343.jpg](https://static.daniweb.com/attachments/4/5748cda0e5698f8862109ff9832a8a58.jpg) ![Captura_de_tela_2022-02-20_120319.jpg](https://static.daniweb.com/attachments/4/692941b3ec3212a0f288908be6314c14.jpg)

Member Avatar for Dani
0
45
Member Avatar for kevindougans

![Screen_Shot_2022-02-18_at_19_31_27.jpg](https://static.daniweb.com/attachments/0/9d7516d5e671e13eb3a629920d7e4e35.jpg) I'm trying to make a form all in one line instead of over multiple lines/height. It can be seen on https://grapefruit-crocodile-hdl3.squarespace.com/ (pwd: contagency) It's supposed to look the attached image, any pointers appreciated. I've got this far, so far: form { display: flex; } .form-item.field.email, .form-item.field.select, .form-button-wrapper.field.submit { display: …

Member Avatar for Dani
1
189
Member Avatar for christaelrod

Working as a senior graphic and web designer at Proglobalbusinesssolutions, passionate about creating unique user interfaces& multimedia design with strong skills. My expertise includes designing and developing front and back end web site designs using HTML5, CSS3, PHP, JS and more.

Member Avatar for Dani
0
20
Member Avatar for Bidesh
Member Avatar for v1

If you plan to attract new customers, enhance sales, build your brand image or improve the customer experience, you need to own a mobile app.

Member Avatar for Dani
0
88
Member Avatar for ademontis

Helloeverybody, I am creating some custom HTML tags using Javascript, I have created plenty of them and they all work fine, except when they have to contain other tags. I am creating a tag called GROUP with the following syntax: <group label="text here"> (other tags here - for example some …

0
118
Member Avatar for Grace_17

is having created a webpage using Html and css the page is laidout (has header, side panel, main content area and a footer) as well as (a table of appx 2 by columns and rows); I will create a very small SQL table with data; BUT how do I transfer/export …

Member Avatar for Schol-R-LEA
0
83
Member Avatar for Thropian

I'm making a html/js game, and attempting to add on screen controls for mobile use. However, I have found that pressing and holding on a button on mobile will highlight the button as though it is pressed but no onMouseDown event is fired and the page is simply waiting for …

Member Avatar for Thropian
0
3K
Member Avatar for AghaSherazi

Hello MySelf Agha. I am 22 years old and also i am Full time Student of Bachelor's of Science in Computer Science (BSCS) ..

Member Avatar for Dani
2
39
Member Avatar for Sarah_27

I am stuck in between Adobe Analytics and Google Analytics.. Help me out.... Should I go with the traditional style or use any other Analytics??

Member Avatar for AccuWeb Hosting
5
6K
Member Avatar for Marco_18

Hi guys, I am using bootstrap carousel and I have some problem with the slide display. I can't switch from one slide to another In the code I have commented the <div class = "item active"> This way the video appears to me as desired, fully functional. If I remove …

Member Avatar for Josh Connerty
0
60
Member Avatar for justinb1145

I have a program that displays a list of vaccines and for each vaccine listed in the table, you can edit them. When I click on edit for the specified vaccine, one of the values allowed to be modified is the number of doses required, which can be changed from …

Member Avatar for Mr.M
0
99
Member Avatar for Mr.M

Hi DW. I'm trying to display a popup over an input box, but the issue is that some websites that I want to also display on have div class name that contains many classes in it which result it a div class name to have spaces in it which is …

Member Avatar for Mr.M
0
1K
Member Avatar for yadao200011

Can someone or anybody help me on how to auto calculate total price in the table? Please see the image below: ![Please take some time to see Image.png](https://static.daniweb.com/attachments/4/cabbe5092985551aefff1784794b148e.png) Here's my code (I will included only the code that I used in the Image: HTML: <div class="col-12"> <div class="col drop"> <table …

Member Avatar for k99rs
0
1K
Member Avatar for pradeepmadgaonk
Member Avatar for ChrisJ

I’m trying to modify a web script where a drop-down works successfully. How can another drop-down field appear only after a selection has been made from the first drop-down list? Here’s the current code: <?php if ($pt->page == 'category' && $pt->show_sub == true) { ?> <div class="pull-right col-md-3 no-padding-left"> <select …

0
45
Member Avatar for ChrisJ

I am trying to display something on web pages that show this in the url: "sub__" for example: ...com/videos/category/1/sub__536. It was suggested I try this code: $page = basename($_SERVER['PHP_SELF']); if ($page=="....") { echo Hello World; } elseif ($page=="....php") { Some Other code... } but I don't know where to place …

Member Avatar for Dani
0
32
Member Avatar for NALB

How to color table rows on the basis of column 'value' or 'text' in javascript can i do it in script tag to check on each row if the cell value is A color the row as green if it B color it as red ... should i do it …

Member Avatar for rproffitt
0
38
Member Avatar for oladiti4real

How can I build a responsive mobile app with PHP as a web developer, I'm a newbie in web development please and I wish to maintain apex growth in this field

Member Avatar for Dani
0
155
Member Avatar for Tello23
Member Avatar for rproffitt
0
27
Member Avatar for faithcr4

Hello please help me troubleshooting the problem below. I got the 500 Internal Server Error in My WP Site>Dashboard>Appearance>Custom.. Pleaaaaase. Below is the error shows when i check the document on Cpanel>File Manager>home3/faithcr4/public_html/error_log... [07-Aug-2021 07:15:40 UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at …

Member Avatar for rproffitt
0
34

The End.