2,720 Recommended Topics
Remove Filter | |
Hello webmasters, I am trying to create a script using vanilla PHP. I am familiar with the language and I have created a cronjob before, but only using cPanel. I want to create cronjobs using PHP if possible with out the need to go to cPanel. I am trying to … | |
I have a subform called "Contacts" embedded on my "Tickets" page. I want to create an edit button to jump to my contacts_edit.php page and use the 'ContactEntryNumber' (the unique key from my Contacts table) for the displayed contact record as the updateID. I have played with this and read … | |
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 … | |
Hello. I am working on a personal project using React. I have three checkboxes that are supposed to filter the information in the table automatically when checked off (for example, if you check off "airline1", then only airline1 and its data will populate in the table). I would like some … | |
I'm building a tool in Python for which I need to read out error codes for specific devices using the Server-Eye API. Server-Eye is our monitoring solution where all of our devices and the devices of our customers are registered. The documentation at https://api.server-eye.de/ wasn't very helpful or I'm just … | |
I’m using a timer script that I’d like to change the displayed text in the <p> ... </p> when the countdown ends but have no idea how to accomplish it. I’d appreciate any help I can get. Here’s the code I’m using: <p> The Update will be done in <span … | |
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 … | |
Hi. I'm trying to convert my python file into pseudo code but I have no idea of how pseudo code work. continueAnswer = input("Please enter either continue to carry on with the program or end to stop it: ") continueAnswer=continueAnswer.upper() while continueAnswer == 'C': while True: try: print('') encodeORdecode = … | |
Hello This is a simple php login script with sessions. It connects to mySQL for usernames and passwords. I’m using a variation of the code from [url]http://www.phpportalen.net/wiki/index.php?page=Enkel+Inloggning+med+Mysql+och+sessioner+-+Komplett+kod[/url] (index.php is the relevant part) Here is my code (my script is called login.php): [code=php] <?php session_start(); // Always at the top include … | |
## Introduction ## When working with Room, you might have wondered how to describe one-to-many relationships between entities. In this tutorial, we will learn how to do just that. ## Goals ## At the end of the tutorial, you would have learned: 1. How to define one-to-many relationship for entities … | |
## Introduction ## When working with Room, you might have wondered how to run multiple statements in a single transaction. Running multiple statements in one transaction has two main benefits: 1. Your statements can reuse the same connection. 2. They can all fail together if something goes wrong. Regarding the … | |
How to draw this cat with: Rendering fill Suitable primitives Aligned texture ![Screenshot_20220402-020429_Office.jpg](https://static.daniweb.com/attachments/4/e9a4f2eda3f42e689b0de42dcd9465ba.jpg) | |
Hello everyone! Can you please tell me how can I limit the number of entries to my website with one login? I’m going to use Joomla for this site. I need to get a unique device id apart from the platform. What should be used - php, javascript or anything … | |
am doing a project with I/O and structs. My text file is below. I need to make my program store each string in a different part of the array of structs I have created. I am having a problem making it separate them in the array when it senses a … | |
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 … | |
Hi everyone, i hope someone can help me with my activity i cant really catch up on my lessons so i hope someone can help me explain each line of this code this language is pascal https://onlinegdb.com/0Z0pIIsen | |
| The pandemic has presented everyone with unique challenges. For me, it became particularly hard to switch to online grocery shopping. When I do my shopping offline, I usually don’t have to plan much, moving through the isles and picking up stuff as I go. It’s rare that I forget something, … |
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 … | |
I posted this the other day and by and large people responded with predictable lack of imagination. I will add additional explicit requirements for the prototype stage. I want to create a prototype of a different type of social media - call it "pro social" media. It would be owned … | |
Please answer this I am getting frustrated 🥴 Programming javascript | |
Hi everyone, I am getting an undefined array key with a session variable. The code works fine once I set the variable. Can someone please help me with that issue? Thanks <?php session_start(); $servername = "localhost"; $username = "xxx"; $password = "xx"; $database ="xx"; // Create connection $conn = mysqli_connect($servername, … | |
## Introduction ## When working with Services on Android, you might have ran into an issue where you would like to: 1. Use a concrete implementation of a Service (*from a built-in or third party library*). 2. Make the Service lifecycle-aware so that you can use coroutines with it. Many … | |
## Introduction ## There are many ways to describe relationships between Entities in Room, one of which is to embed an entity inside of another. When embedding an Entity, the columns of the embedded Entity are extracted as member columns of the enclosing entity. In this tutorial, we will learn … | |
So far, we have gotten lots of innovative social media models. I am not too sure if this has already been tried, but I want to innovate on ownership model. Basically, I envision a Reddit that is owned by its mods and users. Maybe a hybrid FB and Reddit. It … | |
Hi DW. I'm creating a chat system which will alow guests to send DMs to the operator and the operator can reply to it. I'm using MYSQL as my database, fingerprint2js for identifying the user since user has not yet logged in or registered but want to first communicate with … | |
![ff.png](https://static.daniweb.com/attachments/4/5d673eb8c69ed2fe1797b2e1760d1c66.png) username = ["John", "Peter", "David"] password = ["abc123", "123abc", "a1b2c3"] Passwords and username are paired by index. (i.e., John’s password is abc123, etc.) Then make the user input a username and password, then check if the input matches the pair of username and password. If account exists, display ‘Welcome, … Programming | |
hii how can i make self join and sum data in other table by username i have table like this members (id, username, referral) ref_bonus (id, username, bonus) members id | username | referral ---------------------- 1 id1 id2 2 id2 null 3 id3 id2 ref_bonus id | username | bonus … | |
Hello, I am new in C programming, I am writing a function to evaluate a prefix arithmetic expression. I know my code works well but it seems the message floating exception (core dumped) is because if my (preval / 0) the program is not going to work. However, I would … | |
I have two large files that I want to make available for users to download. When trying to download from my web host, the download never starts and I get a "504 Gateway Timeout". How would I revise my code to download from a file sharing site? I tried the … | |
The web application will have a database that consists of millions (over 20mil ... maybe 100mil or more) of hosts (ipv4,ipv6 and domains) and additional data to each host like blacklist, uptime, history, geo data (country, region, city, isp). I could, of course, use other RMDBS system like MySQL, Oracle, … |
The End.