All Questions
8,066
questions
-3
votes
0
answers
59
views
AJAX mistake make 500 error after insert to database table [duplicate]
im newbie, i have 500 error, when i wanna send new information in DB.
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name=&...
2
votes
0
answers
58
views
How to update my cart database on click of plus minus button in cart on ecommerce website with session_id()
I want to be able to update my cart table in the MySQL database when you click the plus or minus button in the cart of my e-commerce website. I want to be able to do this with session_id(), so no ...
0
votes
0
answers
39
views
Timer Continues in Background but Does Not Update Backend Data - PHP Session and AJAX Issue
I have developed a PHP application where a timer on a web page continues to run even when the browser tab is in the background, particularly on mobile devices. The timer updates visually, but I'm ...
1
vote
2
answers
51
views
Modal will show success message if the form is empty without checking the data in table in Laravel
Problem is the modal will show success message whether the form is empty . I wish to get the success message only if data entered in database otherwise show error message. here is my blade page. ...
0
votes
0
answers
68
views
PHP MySQL Data Not Pulling Up on HTML Page
I'm completely new to PHP and I'm trying to pull up info data from phpmyadmin when the user clicks the link in the side navbar and show it on my html page using Ajax replacing the image I originally ...
0
votes
1
answer
100
views
window.location.href redirects but is causing problems on the webpage
I'm struggling with sessions and need some help. The following is my processing.php file which starts the session and assigns session variables for a user. If the user is a participant, then they are ...
0
votes
2
answers
48
views
Blob image displaying from database
I'm literally going crazy. I can't figure out where is the error in the code below whose purpose is to retrieve an image from a database and display it in a frame with id 'img1'. I've tried every way ...
1
vote
0
answers
36
views
specializing the selection inside database by particular order
your friend is a beginner in coding here,
i need your help for getting my desired demand.
Actually, i'm creating my own inventory management system, and just stuck up with creating a condition in my ...
1
vote
0
answers
41
views
how to create a dependent drop-down for classes based on the selected college
I want to create a dependent drop down list on the other dropdown, when the user click the college of students the class belong to that college only display in the dropdown
<!-- class list -->
...
1
vote
1
answer
61
views
Runnig a mysql query using ajax or sendBeacon from window.onbeforeunload
I need to run a query when the page is closed by the user. Apparently; window.onbeforeunload us the correct event. In fact I can see that it triggers.
Now, the problem is that for some reason (unknown ...
0
votes
0
answers
92
views
php form still refreshing with ajax
this is my html form
<form action="" method="post" id="form">
<input type="text" placeholder="Name..." name="name"id="name&...
0
votes
1
answer
78
views
i want to disable options that are not matched with the data from database
i have this list of days of doctor's practice days in database
<select class="form-control select2" name="hari_praktek" style="width: 100%;">
<option value=&...
0
votes
1
answer
82
views
Search while typing and passing info into to multiple HTML form elements
I've managed to cut and past my way this far !
I have a customer database. I have this nice HTML form to fill out. When I click submit, it populates a fillable PDF on the server.
When you start ...
0
votes
0
answers
24
views
laravel ajax submitting schedule interview form error
I want to store schedule interview information using laravel and ajax. but I got an error.I use datetime for input type of schedule time.but I guess the mysql doesnt allow my datetime data that had ...
-1
votes
1
answer
65
views
Mysql insert return not getting back to ajax
Well I am trying to insert data to a MySQL database. The data is getting inserted successfull. But I am not getting back the return msg after the successful insertion back to ajax. Also I am using the ...