Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
-5 votes
0 answers
58 views

PHP Guestbook form returns 200 OK, but data is not inserted into MySQL database [duplicate]

I'm building a simple guestbook using PHP and MySQL, and hosting it on a server. When I submit the form, the network tab (F12) shows 200 OK, and the JSON response is {"status":"success&...
Aiden_P's user avatar
  • 11
2 votes
0 answers
71 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 ...
Luzzi98's user avatar
  • 27
0 votes
0 answers
44 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 ...
Shaikh Naiem 's user avatar
1 vote
2 answers
53 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. ...
user3064621's user avatar
0 votes
0 answers
70 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 ...
Cindy Jiang's user avatar
0 votes
1 answer
107 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 ...
b-rad90's user avatar
  • 59
0 votes
2 answers
56 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 ...
Fab's user avatar
  • 39
1 vote
0 answers
38 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 ...
melio.achour's user avatar
1 vote
0 answers
43 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 --> ...
Ron's user avatar
  • 13
1 vote
1 answer
71 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 ...
Paul Hives's user avatar
0 votes
0 answers
93 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&...
samucode's user avatar
0 votes
1 answer
83 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=&...
lovhazes's user avatar
0 votes
1 answer
91 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 ...
Blankenship's user avatar
-1 votes
1 answer
70 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 ...
Dennis Benny's user avatar
1 vote
1 answer
99 views

Why am I getting double reply after submitting in AJAX?

I am trying to do a comment reply system for my blog.Commenting works good.When I press the reply button for the first time it works normally.If I press it the second time it doubles my reply on the ...
Razvan B's user avatar

15 30 50 per page
1
2 3 4 5
537