-6
votes
0answers
50 views

when database updates particular part of website updates [closed]

I have a website in which I need to update a div whenever the database is updated. I am using PHP and MySql for my code. I am not very familiar with AJAX and jQuery so details/explanation with code is ...
-1
votes
1answer
45 views

encodeURIComponent not passing % character [closed]

I am unable to pass % character using encodeURIComponent, but spaces work without any issues, please find below my 2 partial scripts where in I am using an html, php. HTML file which has a form, ...
0
votes
2answers
48 views

Issue with AJAX “load more” button: disappears once clicked

EDIT: thanks everyone for your help. It still doesn't work though. This script works fine if i change the table to an ordered list. (tr = ol and td = li) That's why i really think the issue comes ...
1
vote
1answer
15 views

Load content into TinyMCE

In advance thank you all for your help. I want to load content into a TinyMCE textfield. My code looks like this: <?php require_once('adminmenu.php'); $articleid = $_GET['id']; ...
1
vote
4answers
33 views

Encode HTML for JSON string

I am storing html in a mysql database as raw html. I am pulling the contents and placing it into an array as follows. The array is the json_encoded, but if there is any double quotes or urls then the ...
0
votes
2answers
22 views

Where should be located a database config file in Node.js and Express?

I'm now learning Node.js and Express, and want to call mysql module to render multiple unique pages, so instead of writing out var connection=mysql.createConnection({user:'root', password: ...
0
votes
0answers
45 views

php input bunch with Javascript validator

How can i compare two inputs that i'm getting with php to see if there is a reapeted one. I have an images-slider and i want to establish or change the order to display them with a form, i'm getting ...
1
vote
0answers
52 views

How to get the current islamic dates record from database using javascript

I have one javascript file for getting the Islamic Months. im getting the data from sql with the javascript for the whole current month. I want to get the data from mysql using the same javascript ...
-1
votes
1answer
31 views

How to generate Email alert by comparing dates? [closed]

I have made a web application which runs on apache tomcat and is coded in JSP. It uses jdbc to connect to a mysql database to enter/manipulate values from the web interface I now want to compare ...
1
vote
1answer
29 views

When clicking a button go to next page and refresh the previous one Jquery Mobile

I got a Jquery Mobile app, when I click a button (ordernumber) on page (one) an ajax call is made and it goes to the next page (two) so you see the products for that order. Now at the same time I want ...
0
votes
2answers
49 views

AJAX update delete tr in table : backend works but glitch with frontend

The purpose of the script below is to allow users to post new updates and to delete them without the page refreshing : that's why i'm using AJAX. There are 2 glitches: when a user posts an update, ...
0
votes
2answers
60 views

Add javascript in php mysql query

I know this sound weird but I need to be able to use a variable in javascript and use it inside a php mysqli query I use the jQuery File Upload from blueImp. It's variable are store like this ...
-1
votes
2answers
54 views

Error in posting into PHP [closed]

Can someone tell me why am i getting error in posting ajax into php file note: here is my url: "http:192.168.254.10/webs/main/ajax/process.php", Here's my code testhello.html <html> ...
2
votes
1answer
49 views

Can't get html5 Canvas signature pad to submit to database

So I've been looking for weeks for a signature capture script that actually works and will save the signature to MySQL and I've finally found what I want but there are 2 problems. I can't figure out ...
-2
votes
7answers
73 views

Return JSON from PHP file not working properly

Okay, I am trying to return stuff from a database and convert it into json and send it back to my javascript. However its not working as planned, it returns as an array on the javascript. Javascript ...

1 2 3 4 5 183
15 30 50 per page