Skip to main content

All Questions

Tagged with
2 votes
1 answer
96 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 ...
bastiag5's user avatar
  • 166
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 ...
b-rad90's user avatar
  • 59
0 votes
2 answers
66 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" ...
Denis yele's user avatar
0 votes
0 answers
70 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 ...
ahmad dekmak's user avatar
1 vote
0 answers
35 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 ...
Divya Keswani'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
0 votes
0 answers
68 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 ...
bbrone's user avatar
  • 1
0 votes
1 answer
79 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 ...
Ahmet Karakaya's user avatar
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:...
phpcalismak's user avatar
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]}, ...
provance's user avatar
  • 927
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 ...
Alessio's user avatar
-1 votes
1 answer
41 views

JSON data undefined after ajax calling

problem facing to show the name in maindata, whereas maindata is showing perfectly but maindata->name : undefined. maindata is longtext column in MySQL //this is the jQuery code section below //...
soumitra's user avatar
0 votes
1 answer
38 views

List database data via jquery with FullCalendar

I'm returning some fields from the database, namely: id, title, color, start, end, start_time, end_time and obs In this case, when registering the fields using while in a php file and returning in a ...
Luan Eduardo Moi's user avatar
0 votes
1 answer
36 views

Jquery issue with dynamic added rows in html table

I am trying to autofill my PHP form by retrieving data from mysql table. Its work fine on one row. The problem which I am facing is that : When I dynamically add new rows using java script, than auto ...
Mian Omer's user avatar
0 votes
0 answers
59 views

autofill (jQuery) not working with dynamic added rows in HTML Form

I am trying to autofill my PHP form by retrieving data from mysql table. It works fine on one row. The problem which I am facing is that when I dynamically add new rows using Javascript, then the auto ...
Mian Omer's user avatar

15 30 50 per page
1
2 3 4 5
746