3,013 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for emiola

Hello, kindly look at my php code to insert registration data into a MySQL database. Here is the code below and further below, the error response I keep getting. <?php error_reporting(E_ALL); ini_set('display_errors', 1); $servername = "localhost"; $username = "emiola"; $password = "emmybaba2020"; $dbname = "tutors"; // Create connection $conn = …

Member Avatar for AndreRet
0
110
Member Avatar for ppel123

Hello everyone, I am working on a project, which corrects user input (reads input stream from keyboard with keyboard module hook) based on some rules. I am trying to find the fastest way to delete and write the corrected word, after a user enters a wrong one. Currently I am …

Member Avatar for griswolf
0
382
Member Avatar for nishita_1

please help me. below chart.js works very well but here show all date data from database but i want only last fifteen days data to show. How can i show last 15 days sale reports. i am attach code below. thanks ![chart_edit_result.PNG](/attachments/large/4/3b3130d6f7da66a0d9ff733730021645.PNG) I an developed an chart.js for my daily …

Member Avatar for pandglobal
0
4K
Member Avatar for newcoder310

Hi have 2`springboot` applications running on ports `8085` and `8084`. When I try to use `RestTemplate` to try to connect from one service to another, I get a `BadGateway 502` exception. Below is the stacktrace head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.9</center> </body> </html> ]] with root cause org.springframework.web.client.HttpServerErrorException$BadGateway: …

Member Avatar for newcoder310
0
3K
Member Avatar for mexabet

I'm struggling to create a two-paged form using $_SESSION. What I want to achieve is the first page (page1.php) requires the user to enter his/her email address. And the second page (page2.php) requires the user to enter his/her password. When the user submits page1.php, it takes you to page2.php, where …

Member Avatar for mexabet
0
124
Member Avatar for Saboor880

I am making an adroid application. I am saving sales data on firebase with current date. I have formatted the System.currentTimeMillis() into SimpleDateFormat. The date is successfully stored on firebase . Now I want to retrieve sales between two dates. I made two demo sales, one on (30-5-2019) and second …

Member Avatar for Lye
1
5K
Member Avatar for priyamtheone

## Basic workflow of my page ## [Image of Payment page](https://1drv.ms/u/s!Ava3iL9se3C3gTF_XJ_RiBBsWDHs) I have a payment page that has a name textbox (txtName), a PIN textbox (txtPin) and two textboxes (txtPaymentDate and txtPaymentTime) containing payment date and time respectively. The page also has a payment button (btnPay). txtName has a RequiredFieldValidator …

Member Avatar for priyamtheone
1
458
Member Avatar for davidmoffitt1

Following The New Boston on youtube, he is using is in an if statement and doesnt show any error, on mine I get a syntax warning and it asks if I meant ==, but still displays the output the way it should be.

Member Avatar for tinstaafl
1
292
Member Avatar for Violet_82

Hi there, I am totally new to Java script (just began to looking into it) and I would like to do something with the comment box on one of the website I am working on [url]http://antobbo.webspace.virginmedia.com/webediting/documents.htm[/url] Basically rather than that box at the bottom of the page I was thinking …

Member Avatar for Mohamed Thaha
0
6K
Member Avatar for Hazyan

Hello, I'm new here and I have experience in using PHP with MySQL but right now, I need to convert my code so that it can be used to connect to my DB in my SQL server. I have try out the code as follows db.php <?php date_default_timezone_set ("Asia/Kuala_Lumpur"); // …

Programming mssql php
Member Avatar for AndreRet
0
447
Member Avatar for tony75

Hi Try to extract password from my chrome browser but I got this error below How can I solve this problem? Traceback (most recent call last): File "Chromer.py", line 13, in <module> password = win32crypt.CryptUnprotectData(website_data[2], None, None, None, 0)[1] pywintypes.error: (13, 'CryptProtectData', 'The data is invalid.')

Member Avatar for rproffitt
0
313
Member Avatar for aveeva7

I have couple of shipping methods DHL & FedEx, if selected products exits in cart show only selected shipping method, how to archive using shopping cart pricing rule or any other way to do this?

Member Avatar for Harshal Shah
0
272
Member Avatar for larryson

****pls am not getting things right with this my code i want to alert the user when there is no input made in the FIRSTNAME, LASTNAME, USERNAME BUT i am done with the EMAIL and PASSWORD SECTION SOMEONE PLS HELP ME WITH THIS CODE PLS...**** <!DOCTYPE html> <html> <head> <title>Page …

Member Avatar for pandglobal
0
260
Member Avatar for SimonIoa

Hello i want to be able to change the primary, secondary etc $colors variables in Ionic 3 in order to implemeny dark mode. variable.scss $primary-color: #333!default; .dark-theme { $primary-color: whitesmoke ; } $colors: ( primary:$primary-color, ) So using Sass !default is like adding an “unless this is already assigned” qualifier …

Member Avatar for AndreRet
0
201
Member Avatar for janedelsantos

Help, how can I create a MULTILEVEL QUEUE ALGORITHM program? I tried it but it crashes, does not build... It would be okay if its in other language. HERE IS THE SNIPPET CODE SAMPLE (c++): --------------------------------------------- //Enter Number of Process cout<<"\nEnter the number of Processes:"; cin>>n; //INPUT Arrival, Burst, and …

0
132
Member Avatar for cambalinho

if i have X,Y(10,20) and the speed is 2, will be: X = X + 2 Y = Y + 2 ? same goes for Z or it depends on direction?(Y or X rotation)

Programming c++ math
Member Avatar for JamesCherrill
0
129
Member Avatar for cambalinho

i'm learning Math for 3D... for now i can draw a plane and convert 3D to 2D(the screen is 2D): Private Function ConvertPositon3DTo2D(Position As Position3D, World3DSize As Size3D) As POINTAPI Dim ConvertedPosition As POINTAPI Dim PosZZDepth As Long PosZZDepth = Position.Z + World3DSize.Distance If (PosZZDepth = 0) Then PosZZDepth = …

Member Avatar for cambalinho
0
104
Member Avatar for SoftBa

Hi, I have one Win Form app to load Excel data into DataGridView. I want to store DataGridView data into MS Access database. Everithing works great, but in some cases inside ExcelFile I have single quote mark, which breaks SQL Syntax. My question is, How to find & replace "'" …

Member Avatar for AndreRet
0
83
Member Avatar for jliamnrich

Hello friends. I am new at programming and need to programm "X" as an assignment [](https://freeessaywriter.org/) (pic is attached) The "X" should be arbitrarily large or small and the edge length of the "X's" should be entered by the user. The code is below. Would highly appreciate any help: include …

Member Avatar for tinstaafl
0
82
Member Avatar for Stefce

I want to echo the results of this mysql query SELECT username, task_completed FROM accounts WHERE referrer_by = :referrer_by AND task_completed < 1 I have this code so far but this doesnt return anything and it should return the values which are less than 1 $ref_query=$db->prepare("SELECT username, task_completed FROM accounts …

Member Avatar for AndreRet
0
75
Member Avatar for pandglobal

Hello house please i need assistance. I need to rewrite urls in a particular folder so that the folder name is not shown when visiting the page or pages inside that folder. And am doing this or intend to archive this through .htaccess Example: example.com/ folder/aboutus.php But i want it …

Programming php
Member Avatar for pandglobal
0
57
Member Avatar for Nur_15

` #include<iostream> #include<cmath> #include<iomanip> #include<fstream> #include<string> using namespace std; int main() { const int num=10; double a[num],b[num],c[num],disc,x1[num],x2[num],qe,x,realpart,imaginarypart; char answer; do { for (int index=0; index<num;index++) { cout<<"Enter coefficient of a (a>0): "; cin>>a[index]; cout<<"Enter coefficient of b: "; cin>>b[index]; cout<<"Enter coefficient of c: "; cin>>c[index]; qe=a[index]*(pow(x,2))+(b[index]*x)+(c[index]); disc=(pow(b[index],2))-(4*a[index]*c[index]); if (disc>=0) { …

Programming c++
Member Avatar for tinstaafl
0
56
Member Avatar for ANIMEXD

i am making api in PHP but i have some problems with cors(preflight) i know how the cors works, my problem is when i request the data from api with (fetch api) i get the response from the server(api) but it suppose to also send cookie for authentication purposes but …

0
76
Member Avatar for tareqjhe1

Hello Friends, Recently I have created a website. And whenever I am visiting [my website](https://www.tblog.net/) one yellow i can see left side of address bar. It saying my connection not secure. "Part of this page are not secure(such as images)" . I don't know why it's showing like this.

Member Avatar for Dani
1
261
Member Avatar for John_165

What are all num referring to ? class Sample { int num; void method() { num = 1; int num = num = 2; num = 3; } }

Member Avatar for John_165
0
1K
Member Avatar for Danny159

Hey guys, I have the following code... And what I want it to do but cant get it to do is add up all the price fields and change the sum every time a number is changed or a new line is added... but its not working? Can anyone see …

Member Avatar for AndreRet
0
5K
Member Avatar for subhraakasuny

Hi All, I have an excel file containg chart.I am able to read the chart from excel file using POI XSSF. But I am not able to save the XSSFChart as an image.I want the chart to be stored in my harddrive as an image(.jpg or .png).Please find my code …

Member Avatar for GovindSharma
0
4K
Member Avatar for NickLSC

Hi all, I am new to C++, I am studying a C++ code and would like to learn how to implement it in Python. I encountered the following: 1 unsigned short arr1[2]; 2 unsigned int * arr2 = (unsigned int *) arr1; I tried to write a C++ code to …

Programming c++ python
Member Avatar for tinstaafl
0
793
Member Avatar for Mike Bishop

I normally use SQL as the backend database however for a new project I need to use MSAccess. I am trying to insert a new record, this works fine if I only have on fielid on the row but as soon as I have a second field I get an …

Member Avatar for SoftBa
0
693
Member Avatar for Jin En

#ifndef CIRCUIT_H #define CIRCUIT_H #include <iostream> using namespace std; class Resistor { public: void setResistance(double); double getResistance(); double GenerateRandomCircuit(); double calctotalResistance(); void GenerateQuiz(); int op[7],res[8]; private: double r; }; #endif // CIRCUIT_H #include "Circuit.h" #include <iostream> #include <iomanip> #include <cstdlib> #include <ctime> using namespace std; void Resistor::setResistance(double r1) { r=r1; …

Programming c++
Member Avatar for rproffitt
0
594

The End.