All Questions
2,960 questions
-1
votes
0
answers
48
views
How to insert multiple rows but different column names in GUI into one header and one detail table by using foreach php html [duplicate]
I need to insert multiple rows that pull from some tables in GUI (CRUD application). One header data into a header table and a detail table in the database. Here is a screenshot of the form (GUI): ...
-4
votes
1
answer
64
views
When fetched, date is shows as one day behind. The DB has correct data stored [closed]
I have a Node.js and MySQL project. The user inputs the date from a dropdown and submits the form. In the backend, I see proper date but when I fetch it, its 1 day behind. I've read that it might be a ...
0
votes
1
answer
108
views
How can I combine multiple javascript functions for star rating system
I am running WAMP installed on a Windows 10 PC for a gallery of video clips stored on a local drive. The gallery pages contain thumbs for each video clip and a 5 star rating system.
The star rating ...
1
vote
1
answer
57
views
Trouble adding new data to mysql database when using HTML form onsubmit to call a JavaScript function
I am trying to get the users Email address to add it to an existing mysql data base, previously I used this HTML and PHP code which works and does add the data to the database both on my server and ...
0
votes
0
answers
55
views
Attendance Calculation based on date time selection
$(document).ready(function() {
let rowCounter = 1;
let totalTimeTaken = 0;
// Function to calculate time difference
function calculateTimeDifference(start, end) {
const ...
-3
votes
1
answer
75
views
Is there any thing I am missing here? or better way? [duplicate]
I am trying to save Session variable in index.php page and to access in I_detail.php.
The following piece of code working fine.
index.php
<script type="text/javascript">
...
1
vote
1
answer
55
views
React Web app update page won't get the id
i've been trying to make an update page for a web app page that has values from a database.
i go to the update page from the student page where i have 20 different students listed , let's say that i ...
0
votes
1
answer
49
views
Update module not works in Node.js
I made a blog using node and ejs, but my problem arises when I want to make an update of a post, the texts are updated without problem, but the attached image is lost even if it has not been edited.
I ...
-4
votes
1
answer
50
views
(i'm beginner) Why when I clicking the register button redirect me to the register_db.php page? [duplicate]
when i clicking register button ,it redirect me to register_db.php page. Why isn't the data being sent to the database and the web page still remains at register.php? I want the data to be sent to the ...
0
votes
1
answer
56
views
How do I select query in a button that has been iterated using handlebars?
Hello and thanks in advance, I iterated buttons in handlebars, but when I try to refer to them using Id I get no response. I assumed its because its an ID and IDs are unique, so creating multiple ...
0
votes
0
answers
58
views
Send Form Data to mySQL Database After JavaScript Validation via PHP(client side, server-side validation together)
I am working on validating a signup page of a website using javascript and PHP methods.(client-side validation and server -side validation)
when I tried php connection on submit button, i was ...
-2
votes
1
answer
91
views
Request data from a MySQL Table and show on an HTML page? [closed]
Title,
I've tried Node.JS but to no avail since it doesn't work for webpages, and looking into it online it always suggests on how to show HTML through Node.JS, not mentioning SQL in the slightest.
I'...
0
votes
1
answer
113
views
PHP save data to the database
I am new to php, I have brought a frontend template online html/css/javascript which generates new table rows dynamically, no I want to save all the data in this dynamic table in the database, but ...
0
votes
0
answers
34
views
failing to insert dynamic form fields in php its saying array array in the data base
When i submit the form its sayings submitted but no data in the database its just saying array array
2.and its not sure any error
3.from the form html to php if i print_r() its printing all the data ...
1
vote
0
answers
43
views
How do I display dynamic data on the same page
I am trying to build a helpdesk page.
I list the categories and the subject under each category on the left side of the page. I want to display the article related to the subject (and id) to be ...