6,557 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
84
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
101
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
162
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
373
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
235
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
111
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
216
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
399
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
110
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
800
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
57
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
126
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
36
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
61
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
144
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
25
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
34
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
61
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
93
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
30
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
73
Member Avatar for kenben10
Member Avatar for Dani
0
62
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
46
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
84
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
95
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
43
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
176

The End.