All Questions
11,216
questions
2
votes
1
answer
89
views
Update mysql database from updating individual cells
Hi I am developing a project locally and started from this https://codepen.io/fjfalah/pen/WEppVa to create my table linked to my mysql database. I have had no problems in displaying the data but I am ...
0
votes
1
answer
65
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
60
views
How can I show/hide a DIV after selecting a SELECT option from the database?
This is the code for Select options:
<div class="modal-body row">
<form role="form" action="patient/addNew" class="clearfix" method="post" ...
0
votes
0
answers
62
views
Double update problem all my row data column disappear
I have table in phpmyadmin, I update its row value from a word to a different word. My code line is :
UPDATE database213
SET category = COALESCE((
SELECT GROUP_CONCAT(Category_Name)
FROM ...
0
votes
0
answers
31
views
Uncaught TypeError: App.Routers.Maintenances.MyRouter is not a constructor
I am using backbone js as frontend in rails 7 application. In index.html file I have called backbone main file. code is coming in this file. But here I have initialise router file. In which getting ...
1
vote
1
answer
89
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 ...
0
votes
0
answers
16
views
Unable to edit the database with placed in a MVC pattern
I have a Controller folder with controller.php; a Model folder with db-manager.php, table-user.php and a footer.html. The controller.php has the db-manager include, the db-manager contains a function ...
0
votes
0
answers
24
views
Trying to update data to database in WordPress by php code snippets , why the data is not updating in database and showing 404 error?
Trying to update data in mysql database(not local server). Using basic PHP and jQuery but the data is not updating and showing 404 error status in inspect section . what is the problem in my code ?
...
0
votes
0
answers
65
views
JQuery Ajax - Code Getting Cut Off by '<'
New to coding and having trouble with Ajax. I'm trying to return a table of results from MySQL based on the parameters in my HTML form (this is an example for learning only, ultimate purpose will be ...
0
votes
1
answer
76
views
Get Rid Of FULL Scan Inner Query Mysql DB
I'm running an SQL query on MYSQL, I was expecting to access the record in one attempt.
Because the inner query gets only 1 row, this record can be accessed on a Primary key index user_id of the ...
1
vote
0
answers
48
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
0
answers
37
views
HOW do i save changes done in the highlighted cell in the show table into the Database
I want to edit a cell in a database table using the given textbox show below.
at the end i am hoping to be able to edit that particular cell for any row in that give table
------------POST Query
The ...
0
votes
0
answers
14
views
Select where a column value is included in a string (or array) [duplicate]
js
let ids = $.map($('.atitle'), (e) => $(e).attr('data-id'));
console.log(ids);
// ['6493e687161e0', '64a6776077613', '6489c85b3e6b1']
$.post('index_pro.php', {fn: 'btn_mails', args: [ids]}, ...
0
votes
1
answer
65
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 ...