All Questions
3,875 questions
0
votes
1
answer
106
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 ...
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 ...
1
vote
0
answers
53
views
PHP Datatables Requested unknown parameter error
I'm trying to use jQuery DataTables with server-side PHP using AJAX and date range filtering
javascript code
$(document).ready(function() {
$('#start_date, #end_date').datepicker({
format:...
0
votes
1
answer
70
views
jQuery post id send and while-loop white page
I'm a junior developer and I have a problem when send, with post method, an id with jQuery to a external page with inside a while loop modal.
This is my jQuery call that send the button clicked id to ...
0
votes
1
answer
48
views
jQuery/AJAX submits but won't delete from the database
I'm stuck on an issue with my AJAX/jQuery + PHP code, not sure what is going on. My insert page works perfectly fine, but when I try to create a delete event - nothing happens. My code is:
HTML/PHP ...
1
vote
1
answer
49
views
Fetch hidden product_id from database to jquery autocomplete plugin list
I am using jquery autocomplete plugin for selecting data from database using PHP, MySql and Ajax.
The plugin operates good except fetching the product_id. When the plugin fetches the autocomplete list ...
0
votes
2
answers
48
views
How can I return data from MYSQL as JSON using PHP so that I can use it in on my HTML page
I am trying to get data from the mysql database using php and wordpress which I want to convert to json to get all the data from my mysql query. I have made the call using AJAX to the php file that ...
1
vote
0
answers
134
views
JqueryUI autocomplete barcode scanner with delay on enter key press
I'm looking to use the skill_input field for accomplishing field to read from barcode scanner or to be used also keyboard incase the item doesn't have barcode to be scanned,
I have an issue, the ...
-3
votes
1
answer
93
views
I want to delete row by id, but it's not working PHP and MYSQL
Page that has delete button (searchvehicle.php). Im returning the data using ajax.
<?php
session_start();
require ('../db.php');
$id = $_SESSION['id'];
$return = '';
if(isset($_POST["query&...
0
votes
0
answers
64
views
Ajax Jquery success(response) is not working at first but after refresh it does the job
I'm running a PHP code with AJAX and JQUERY. I used these two to run my login form, at first, when I try to log in, it says the email and password is incorrect but it surely wasn't. But after I ...
0
votes
1
answer
122
views
how to show data from mysql in php where a trash != 1 (column value)
I want to show only that rows where Trash != 1 from php mysql in php. Trash variable is column field of php mysql where i stored a value of 1. so that I retrieve only rows where Trash = null
//Below ...
0
votes
0
answers
23
views
Ajax Jquery Not Works On Html Form Data Insert To The Server [duplicate]
I am working hard on this topics and search many tutorial on Google as well as on stackoverflow too. Now I am trying to save html form data to the server by Ajax jQuery as below.
<!DOCTYPE html>
...
0
votes
1
answer
142
views
How can I post HTML element value to MySQL Database in Django using Ajax (Without using Form)
I am new to Django and currently facing a problem to post html tag data into database.
I have a "PICK CASE" button which on click should send the user_id (hidden html tag display:none) and ...
0
votes
1
answer
211
views
Get Notifications Number
I have a separate PHP file containing a valid mysql query returning # of Rows representing my criteria (No. of active Notifications), and I have a JQUERY code to display notifications counter, but I ...
0
votes
1
answer
204
views
How do I filter with dropdown list? PHP and SQL
We are trying to filter based on the tags or the dropdown menu, we are trying to create a blog website that has tags and those tags can be used to filter the posted content on the homepage Tags ...