Tagged Questions
0
votes
1answer
36 views
Displaying different data in different table columns by switching options in a select
My problem is the following:
I have an ajax function that, according to the option (of a select) selected, associate a record in a database and populate another input, i.e. a p tag.
I have two td ...
0
votes
1answer
51 views
Magento 1.8 add to cart ajax form submission has issues in getting the url properly [closed]
There is an issue in magento 1.8 with add to cart ajax form submission in getting the url properly.
...
0
votes
2answers
54 views
jQuery-Ajax dont work on production server
I 've created a web application, the basic idea was to have one page and then with ajax insert data from php-mysql script. On local Xampp the application works perfect.
On production server some ajax ...
0
votes
0answers
28 views
What is the best way to use Ajax in CakePHP 2
I'm new using cakephp and I did some research to evaluate what is the best way to use Ajax in cakephp 2., using helpers or not, but happened that I couldn't do it anyway, that's why I'm here. I'm ...
0
votes
0answers
50 views
Form Submission using AJAX and PHP - Issues
Using codeIgniter, I successfully implemented user registeration with enctype: multipart/form-data but after that I started trying user registration using AJAX I got stuck. I can see ajax responses in ...
-1
votes
1answer
26 views
French encoded characters
Encodings are not my strongest points...
I am building a site which involves a range of different languages.
The database is storing content in UTF-8.
Content is injected on screen from the db with ...
0
votes
1answer
73 views
jQuery Ajax Post, Add them to DB, Return Data and repeat the Process again
I'm completely confused so please let explained the logic clearer.
Here where i get my data from db.
index.php
$sorular_hepsi = mysql_query("select * from tblsorular where hafta=1 order by ...
-4
votes
1answer
43 views
How can i ajaxify this simple 'like' script?
i'm trying to write a simple "who liked this post" kind of script. i've done it but i want to ajax it but i don't know how. i've googled and read lots of tutorials but none of them was helpfull to me.
...
0
votes
1answer
490 views
how to retrieve data from database based on the value of two drop down list using ajax?
i have implemented the Example. Here i am retrieving data using only one drop down list. Its working fine. But if I want to do the same for two drop down list that is values from database have to be ...
0
votes
1answer
222 views
How to create ajax-style form submission with PHP MVC setup
I am using an MVC framework with PHP; standard models/page_model.php, controllers/page.php, and view/page.php.
I have a user registration script (adapted from here:php-login.net that returns a error ...
0
votes
4answers
89 views
having multiple buttons in one form and every button should be able to update database
Hi Friends please tell me where I am wrong cause the database is still unchanged even though update query is executed successfully
Thank you
here is the form code
echo'<form ...
0
votes
1answer
34 views
Call different type of questions from database as per their category
I am developing Multiple Choice Questions (M.C.Q.) web application in which I want to ask random questions from three different category. suppose I want to ask 15 question in test in that test there ...
1
vote
1answer
30 views
Search query for prefix
I'm trying to create a query for my website where the user will type in his cellphone number and the page will search the DB (I'm using MYSQL) to find the possible carrier. So far I tried something ...
0
votes
1answer
80 views
How to send the ID (unique) in the database through AJAX
I have 3 data in the database (customer table) Which is displayed
My Css - #form
#form{
position:fixed;
width:320px;min-height:280px;
top:21%;
left:36%;
background-color:#FFF;
padding:10px 10px ...
0
votes
3answers
34 views
Mysql longtext wont save certain text?
I have a script in my back end that allows me to save default sign up emails. It work with some messages, but some it doesn't. I have the field set to "longtext" and "utf8_general_ci". My current code ...
1
vote
1answer
249 views
MySql data using JSON and AJAX in PHP
I want to get searched data from mysql database using JSON and show in my php page. I was write this code but it not retrieve any data.please help me
Client page
$(function () {
var roll = ...
1
vote
2answers
77 views
Get value from database after clicking on image
I have a query that gets the latest 10 rows in a table and loops 10 times to echo HTML that includes some of the information taken from the table, to something similar like below (pseudo code):
query ...
1
vote
1answer
84 views
Phonegap - mysql data
I'm just looking into using PhoneGap (Cordova3) and I'm basically looking at creating a screen that pulls in data from MySQL as soon as it loads and then be able to click on the results that will then ...
3
votes
1answer
825 views
How I pop-up a jquery dialog with mysql data?
I have a question about jQuery UI Dialog box and showing dynamic content from a database.
Here I have a table which is generating blog post using php and mysql and in that table, there is a column to ...
0
votes
1answer
124 views
Speed up the jquery ajax call
I have a game site with some grids. More than one player can play the same game at a time.
If any user clicks a single grid, i need to convert that particular grid to active state for all the user ...
1
vote
2answers
81 views
ajax request with php responses in sequence, not in array
Hi guys here is what I'm trying to do, this is a registration form and first I'm doing a check to see if the username is available, if it is it them proceeds with the registration.
In case the ...
0
votes
2answers
297 views
calling a specific PHP function with AJAX
Updated with page titles.
This is on Leaderboard.php. you can see I've currently got the PHP call in the tbody.
<!-- The Leaderboard Table -->
<table id="tblData" class="table ...
0
votes
1answer
38 views
what would be better for conserving server system resources
I made a private chat system. So far the chat has 3 jquery ajax post scripts calling to the server in a loop for new data.
Message window between current user and target user (The ajax gets the ...
-2
votes
1answer
404 views
create albums photos using php mysql jquery and ajax
i have a social media website under construction and i want to build a page where users can store their uploaded image within an album like on the facebook where their are many albums that contain ...
0
votes
0answers
77 views
Lazy load with ajax search page
I have one page that display picture from database using Ajax feature. The other page is the search page, I try to integrate the lazy load to one of the pages so imgs appear slowly but it could not ...
0
votes
3answers
360 views
Get Notification Whenever MySQL table is updated in PHP without any refresh and without much Load on the Server
I am developing a card game.
The Logic is 1st player waits till any player joins.
When 2nd player comes to that page, an update in database is made and Player 1 will get a notification that Player 2 ...
0
votes
0answers
37 views
jQuery .post on FB.Event with Zend
I am struggling with FB.Event triggered on clicking 'like' button.
I did everything alright (I think), but I can't update my database anyway. Here is my code for event (alert contains whole page, why ...
0
votes
0answers
89 views
Insert into DB and AJAX
So I have 3 forms on a page, and depending on which form is submitted - something is entered into the DB. Now, this code works perfectly, if I include it all on the same page, but of course, it ...
0
votes
0answers
206 views
How to populate several form text fields from a single record in an mysql
I have a add customer form tied to a customers table that I use to add a customer and assign it a job id. I have a second energy audit form tied to a energy audit table that I want to use to enter ...
0
votes
0answers
23 views
What is the SQL Query to load user activities that am following on my newsfeed section?
We have the following tables:
Likes
Share
Pictures
Status
Followers
and other tables.
What is the SQL Query to load user activities that am following on my newsfeed section? this is what we tried ...
0
votes
0answers
71 views
annotate image and save in db using jsp
I am having a requirement in which user can place little comments over an image and at the bottom of image we will have three button's called (accept or re-do or cancel). I've to rewrite parts of it ...
-1
votes
2answers
219 views
code for ajax on text field using database
I am making a web portal for an institute as an intern.
Currently making a module on the telephone directory. My mentor has asked me to apply AJAX on a text field for entering the employee name. I am ...
0
votes
2answers
65 views
AJAX no data showing up from server request
I am tryng to get AJAX to post to a seperate php file and then have that data put into a div. The ultimate goal will be to set up a long poll for auto updating, but baby steps.
So nothing shows up in ...
1
vote
1answer
57 views
Using AJAX to “post” a logged in user's user-name onto a mysql database
I am currently working on an HTML5 canvas/JavaScript game. I wish to save the logged in users Score which i have done, but i want their name to be placed in the database as well. On my Index.php page ...
-1
votes
1answer
302 views
How to apply reverse ajax in my php page to reload my listed items?
I want to use reverse ajax in my php page to reload updated data on server. Another issue is that i need only those data which are recently added or updated to database, how can i filter such data in ...
0
votes
0answers
149 views
PHP MYSQL JQUERY Feedback/Notification System for Server Events
I need to build a notification system for a website that gets traffic from at least 5,000 users at the moment.
The users win points performing certain activities. This activity gets recorded to a ...
0
votes
0answers
678 views
how to populate dynamic select options using ajax from two separate files
I'm not sure if this is possible to be done. I have tried several ways and it doesn't work. either my concept is wrong or it's just impossible to implement such scenario.
The scenario is like this:
In ...
-1
votes
1answer
156 views
How to fetch data from mysql database into ckeditor?
I have been working on Inline editing, with good results,
but when I saw CKEDitor I'm very impressed!
I want to create the web service for inline editing of website. Without reloading the whole ...
2
votes
1answer
110 views
On select loading options in a select box
I have a main drop down list which contains state names, when i select each state name i need to display the city names in a select box, but the select box name should be same because when i give ...
1
vote
1answer
288 views
Google Maps v3 -> Database/mysql -> AJAX -> LOOP -> AJAX -> Loop
a) the real joke first:
Finally buying Microsoft stuff over the years paid off..
Trying to debug using Chrome, my map was showing just one marker. It was on the correct latlng for the period of the ...
0
votes
1answer
146 views
Getting a default value from dropdown and display a table
I am trying to display a HTML table in my index.php page with user registration data which process in table.php page. I am sending a value from a dropdown to the server for processing the data. These ...
0
votes
2answers
72 views
Ajax response error
I need to make a mysql query according to the value of dropdown list. Here I use ajax to send dropdown value to the server. I think this part is working for me. But problem is I can not get it to php. ...
0
votes
2answers
178 views
Ajax and Mysql Inserting 2 same row for one click
I have a button which has attribute onclick to start javascipt function and my javascript ajax script has xmlhttp object. It is communicating with dbaction.php
When I click button everything is okay ...
0
votes
2answers
68 views
Jquery ajax retrieving text (numbers) from php mysql
I've just started learning Jquery and I'm trying to post and retrieve some data with Ajax. The data that i wanna extrapolate is some simple text (no json), more specifically numbers. So I wrote this:
...
0
votes
1answer
80 views
create a gallery images in my website where there is albums that hold many pictures
i want to create a gallery images for each profile in my website where can the user upload many pictures and categorize it in albums but i do not know what is the logic to build such a thing so can ...
0
votes
1answer
335 views
How I get AJAX respond result back to main page
I have a user registration form in a jQuery modal dialog.
After completing the form and clicking on the button of the modal dialog, the data should go to mysql. That part is ok for me. I am using ...
0
votes
1answer
2k views
Insert data into MYSQL using jquery modal form
I have a page shown below that displays a list of user records from a database with a button. When I clicked on that button display a jquery modal form with a form that allows someone to enter their ...
1
vote
1answer
557 views
Adding a table row after insert with jQuery $.ajax PHP/MySQL
I need a help to adding a table row after inserting with PHP/MySQL. I don't know what else to do.
FYI i'm able to insert with $.ajax and my select are working correctly. I need a help on how to ...
0
votes
1answer
108 views
Ajax to GET the price via php
Hi the code below works and what the code does it for category is just a drop down for a user to select but for the drop down for the Length when the user select the length it should make an ajax to ...
0
votes
3answers
670 views
jquery ajax call for deleting a row in mysql
How do I delete a row by just passing the id using a jquery ajax call
this is delete.php
<?php
require_once('DB.class.php');
$dbconnect = new DB('schoollife', 'root', '');
...