2,720 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for Kate_12

Hello Dani Web, I have written a program that needs to run on Ubuntu 14.0. It runs on Windows 10 and will compile in Replit. But I get this error in Replit. Can anyone figure out why? I assume it's in relation to my pointer "highScore". Can anyone figure out …

Programming c++ ubuntu
Member Avatar for Dani
0
64
Member Avatar for borobhaisab

Hello, $c = 'bool'; // boolean settype($c, "integer"); // $c is now integer (1) echo $c; Why has $c become the int of 1 and not any other number ? And why is the following set to an int of 0 and not any other number ? $c = 'string'; …

Member Avatar for Dani
0
49
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 Chloe_6

I'm needing to be able to get a search bar to work in PHP using HTML. I have done some coding, but cannot fully grasp how to do it. What can I do to get the search bar to work? I am needing to be able to search for a …

Member Avatar for Chloe_6
1
75
Member Avatar for dimitrilc

## Introduction ## When working with Selenium, you might have run into a situation where you have to wait for long-running tasks to complete before you can interact with elements. Fortunately, Selenium has support for such situations via its many *waits* API. In this tutorial, we will learn how to …

2
72
Member Avatar for borobhaisab

Folks, Look at this youtube serp: https://www.youtube.com/results?search_query=make+money+online+in+2022 You are shown 10 search results. Now, if you want to see more results, you got to scroll to the bottom of the page and only then more search results would be presented. Otherwise not. Q1. My question is, what php function or …

Member Avatar for Dani
1
135
Member Avatar for dimitrilc

## Introduction ## When creating a Selenium test, it is common for developers to want their scripts to take the same actions as a real human user would take. These action often includes clicking on elements or inputting text data into forms. In this tutorial, we will learn how to …

1
84
Member Avatar for sarah_15

I need help to create a program that will accumulated sales for any given month. The total for each month will be stored in an array. There can be more than one entry for any given month and they do not have to be entered in any order. After all …

Member Avatar for JamesCherrill
0
3K
Member Avatar for RC_820
Member Avatar for Dani
0
481
Member Avatar for MD SAIFUL_2

Write a menu driven c program to create an integer array and populate it with some data. Then perform the following operations with user choice: a) Insert an element at beginning, at end, at any position of the array. b) Delete an element at beginning, from end, from a given …

Programming c
Member Avatar for Dani
0
213
Member Avatar for UnabashedGeek

Stupidly, I clicked on an email attachment with an htlm extension to see what the scam was. I think I was expecting it to open in a text editor, but it ran. (Dumb, dumb, dumb!) Anyway, I've paid my dues by restoring over a terabyte of backup onto two disks. …

Member Avatar for Dkevinjames
0
153
Member Avatar for Chloe_6

**I have attached all of the coding needed** I'm using PHP to design a website. The problem that I am facing is that, the button on the add products page isn't taking the inputs and putting them on the products list page. I'm wondering what I can do to get …

Member Avatar for rproffitt
0
142
Member Avatar for niksirat

Hi, I want to write a program whose input is the names of the companies and when adding the name of each company, it will take various information from that company of different types, 1- TextBox (daily production rate), 2- CheckBox (select product features), 3- OptionButton (the gender of the …

Member Avatar for Reverend Jim
0
115
Member Avatar for RC_820

can someone suggest me how to build referral system with code referral and bonus table mysql

Member Avatar for Dani
0
115
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
86
Member Avatar for Mr_154
Member Avatar for borobhaisab

Hello, Was reading this tutorial on the INTVAL(): https://www.w3schools.com/php/phptryit.asp?filename=tryphp_func_var_intval How is this an INT ? $e = array("red", "green", "blue"); echo intval($e) . "<br>"; And, when to use int() function and when to use INTVAL() function and when not to use them ? I am confused!

Member Avatar for Dani
0
54
Member Avatar for Dani

Sometimes we have a need to take a simple PHP array and represent it as an encoded string. One use case that we have for this at DaniWeb is when a new user signs up, and we ask them to click on a link that was sent to them via …

Member Avatar for Dani
2
228
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
102
Member Avatar for beyermusic2
Member Avatar for dimitrilc

## Introduction ## While creating Selenium tests, you might have found that inspecting elements manually using the web browser’s inspector could be tedious. Even after you have found the element, you still have to go through the pain of looking up the correct **xpath** syntax for this specific element. To …

3
265
Member Avatar for dimitrilc

## Introduction ## While **Functional Interfaces** and **Function Types** are used to declare the types of a function, **Function Literals** create the actual implementations of these types. In this tutorial, we will learn what Kotlin **Function Literals** are and how to create them. ## Goals ## At the end of …

Member Avatar for Klint
2
194
Member Avatar for Ant_426

Hi. Please could someone help me understand what's happening here. I have a MySQL database which has a table with some data in the following format: 2022-03-15 06:55:39:<br/>LineOfSight:<br/>java.lang.Exception:<br/> UNAVAILABLE TELEMETRY BR$0 The field collation is utf8 and the data is stored as text. This data is provided via a 3rd …

Member Avatar for Dani
1
381
Member Avatar for dimitrilc

## Introduction ## Selenium is one of the most popular web browser automation tools out there. There is no restriction on what you can use Selenium for. You can use it to build a GPU scalping bot (*please don’t*) or build e2e tests for your website. In this tutorial, we …

1
214
Member Avatar for dimitrilc

## Introduction ## Whenever I want to express method parameters, return type or variables as a *method* in Java, I often find myself having to do a bit of work: 1. If I cannot remember which pre-made **functional interface** to use, then I will have to look up the list …

1
154
Member Avatar for Lucas_Raza

## Introduction: ## An IDE (*Integrated Development Environments*) is used to make a developers life easier. You are most likely already familiar with the IDE, **VSCode**; but are you familiar **VSCode Extensions**? Extensions take your IDE past the out-of-the-box experience; I wish I had known about this particular extension [**Simple …

1
137
Member Avatar for Simran_14

This question is relation to a Node.js - express - Sequelize - MYSQL application. I am trying to test my application using Curl command but I am getting "Invalid Departure Time" error. This application is also using Luxon. I have tried all the possible fixes I could but nothing is …

Programming javascript mysql
Member Avatar for pritaeas
1
31
Member Avatar for Dani

Sometimes we want to know if the webpage was fetched over an SSL connection (e.g. the URL begins with https:// instead of http://). This way, if an end-user is accessing an insecure version of our site, we can redirect them to the secure version. The following PHP function called `no_ssl()` …

2
218
Member Avatar for Dani

For some reason, PHP class constants don't play nicely with inheritance. For example, suppose you have the following code: class Foo { const VAR = 'foo'; public function __construct() { echo self::VAR; } } class Bar extends Foo { const VAR = 'bar'; } // This will actually print out …

Member Avatar for Dani
1
338

The End.