Tagged Questions
-4
votes
1answer
14 views
Mysql database made scolling get stuck [on hold]
I'm building a website and started with this scrolling system, then I added a mysql database but when I get to the pages where he has to scroll it jams. I inspected the element an I can see there are ...
0
votes
0answers
8 views
PHP MySQL Javascript reload(this.form) keeping mysql results
How do I reload a form using javascript keeping results from a mysql query,
My Javascript; //reloads the form in Heredoc $MyHtml3
<Script type="text/javascript">
function reload(form) {
...
0
votes
2answers
28 views
grabbing text from a text field and updating db with it
I am trying to grab text from a text field and then use that to update my db with it. I have tried using session, get, post and cookie to grab the value using php and this doesn't work. I am new to ...
0
votes
0answers
23 views
Creating D3 Line Graph Based off of Drop-down selection
I am trying to create a D3 line graph that will display a graph specific to the item that is selected in the drop-down menu. I have one script that queries my MySQL database and fills a drop-down menu ...
0
votes
0answers
23 views
JSONP not displaying data in HTML table
This is my PHP page, on my fictional domain http://www.myradiostation1.localhost (testing domain, not web-accessible). It is similar to, but not the same as ...
-3
votes
0answers
43 views
Add dropdown dynamically and populate the list from mysql
I am trying to implement adding a select box dynamically using javascript and this select box is chained where the values are populated from mysql. I was able to create the select box dynamically, but ...
-1
votes
0answers
31 views
Hook Frontend to Backend [on hold]
I have done usability research for as far as possible, I have drawn wireframes and I came up with a design in Photoshop. I also have designed a diagram for MySQL and I've drawn class diagrams for PHP.
...
1
vote
1answer
29 views
Can't display button after every post
So I'm trying to display a delete button after every post. Here's my issue. For some reason it will never show, no matter what I do. Here's my code to display the post
<?php while($row = ...
0
votes
0answers
25 views
Most efficient way to load form fields with jQuery
I'm designing a form whereby a user can select from a selectbox, and based on their selection, it will dynamically load fields based on their selection. For example they can choose between two ...
0
votes
0answers
22 views
How to integrate FullCalendar into a php-login project
I will try to keep it short.
Basically I am using the PHP-Login MCV project found here (Professional version):
https://github.com/panique/php-login
It has been super awesome to kickstart my PHP ...
3
votes
4answers
36 views
Parsing JSON to something usable
I know there are 1 million and 1 questions on this, but I cannot seem to find an answer.
I am receiving data via PHP as such
echo json_encode($result);
From a typical MYSQL query.
I get the ...
-1
votes
0answers
11 views
Computation at UI or data layer? [on hold]
Want to know which computation is faster , doing the computation directly through query(MySql) or retrieving data to the UI and computing? The query will be used very often by many users. Keeping that ...
-4
votes
0answers
12 views
how to make android dictionary application and what should be the programming language to be used? [on hold]
I want to make a downloadable android dictionary application because this is my thesis proposal.i'm confused in many sites on the internet so i dont understand what is best thing to do. My problem is;
...
-1
votes
2answers
18 views
Google Maps Show Nearest Database Markers to My Location
I am trying to develope something where a user types in their postcode or part of their address and they are then shown markers that are near to them.
I have all my markers stored in a database. My ...
0
votes
1answer
28 views
Mysql take a long time to load
I have a website that mirror the hacked websites
From the day of starting everything is cool till it's being bigger
I have 2,197 records in MySQL DB
Every time I want to load this page ...
-1
votes
1answer
33 views
markers can't appear in google maps
I make a very very simple web application.
this application is showing a markers from mysql database to my google maps.
this is my table markers_titik
and I have been made a simple php to ...
0
votes
1answer
26 views
Can I secure this javascript code in a database?
I currently have this code and I want to know how to store it, and then use it, in a database:
var stores = {
"McDonalds" : .90,
"Target" : .92,
"iTunes" : .95,
"Starbucks" : .87,
"Best Buy" : .93,
}
...
0
votes
1answer
37 views
PHP Notice: Undefined index and Form Fields error
I'm trying to make a database of employee, but i'm stuck since Input Form is returning to an error, i'm using Bootstrap and validator plugin.
I already check all field (except input file of ...
0
votes
2answers
74 views
Using AJAX, Javascript and PHP with MySQL to display search results
My aim is to use AJAX to display php search results without having to reload the page.
So far I have been able to get the results, (I'm new to ajax, and I do not know jQuery), currently my only ...
0
votes
1answer
21 views
AJAX to PHP to mySQL debugging
I am having trouble my change password script for my website. I am using an AJAX connection to my php. My database connection is solid, and it is sending the correct variables (according to firebug), ...
-1
votes
0answers
46 views
How to show loading GIF on submit, while div loads on same page?
Can anyone explain how to display the loading image, while loading the <div> on same page? Below is my code, here I used a form and it will fetch a records from database after submit. I need a ...
0
votes
1answer
37 views
Creating custom avatars
I'm starting a project that will require that users be able to create multiple custom avatars. To do this, I want them to be able to send images that are in their inventory to a manipulation frame. ...
-4
votes
1answer
51 views
from mysql to javascript
I'm trying to draw a polyline with coordinates from mysql through a javascript function within a jsp file
I tried the code below but It doesn't work!
<script type="text/javascript" ...
-1
votes
0answers
14 views
TypeError: Object #<Socket> has no method 'get' [on hold]
I have made HTML5 web application with Node.js and mysql.
For past 6 months i am using this application.
But suddenly i am getting the above error
TypeError: Object # has no method 'get'
i tried ...
0
votes
2answers
26 views
Inserting to a custom Wordpress Table with JQuery
My code doesn't insert the data into the database when using JQuery.
My Jquery code:
$("#addMatches").button().click(function( event ) {
var that = $('#group-settings-form.standard-form'),
...
0
votes
0answers
21 views
Execute Ruby script in AngularJS
I setup a simple todo app using AngularJS to test out its functionality, and once I got the basics running I decided I wanted to add persistence to the data.
I decided to setup a local environment ...
-3
votes
2answers
49 views
Executing PHP code from button click [duplicate]
I am trying to execute some php code that will update my database. Though, I can't seem to get it to work. I tried using a form but I don't want to redirect as I would have to pass variables to the ...
0
votes
2answers
35 views
use array in javascript foreach
I have the following (simplified) php function which calculates a total value for me. it basically fetch an array of items from the wordpress database and checks the type of each item and then ...
1
vote
1answer
26 views
NodeJs, pattern for sync developement
I am new with NodeJs and Express frameworks. I have understood that Node works with only one thread on the server side. So, I have noticed this causes me some problems in order to develop correctly my ...
2
votes
4answers
67 views
While LOOP - PHP - Close Brackets Dynamically
I have a Database table
Column1 | Column2
-----------------
1 | Program1
2 | Program2
3 | Program3
.
.
.
These are listed as Checkbox in a web page..
Before the User clicks ...
1
vote
1answer
24 views
Connect to mysql via JDBC in JavaScript
I am trying to pull data from a MySql database into a Google Doc via Apps Script. When I try connect to the database I get the error below because Jdbc is undefined.
Cannot read property ...
-2
votes
1answer
25 views
Permanently storing data from a form field onto another html page [closed]
What is the easiest way to permanently store submitted data from a form field onto another html page?
In my situation, I want to have a submissions page, where users can contribute posts which then ...
0
votes
1answer
24 views
Can Sequelize.js for Node.js define a table where the Primary Key is not named 'id'?
I have a simple MySQL table named things. My things table has three columns:
Column Name Data Type
=========== ============
thing_id INT // The auto increment Primary Key
thing_name ...
2
votes
0answers
32 views
Storing FLOT data in MYSQL in single Data Field
This Code Works If you're trying to store a javascript array/object in a single field in a mysql database I've finally figured it out: There is no need for json_ecode/decode fuctions. No need to load ...
0
votes
1answer
20 views
Mysql query after cooldown timestamp with javascript
Currently i develop (php,mysql) turn based strategy game and i need to put time limits. Never used javascript before.
My question is how to make function for the following thing :
Player 1 wants to ...
-4
votes
1answer
34 views
display data in single field of a table
I am trying to display name and age in a single field of the table and I want data to be displayed in the place of . I tried the code below but it doesn't work.
CODE:
<?php
...
0
votes
1answer
37 views
add a record to table when hitting save using ajax
i have a table loaded from database. i want whenever the user enters a record, the record should be added to the table without refreshing the whole page.this should be in the ajax function.here is my ...
0
votes
3answers
54 views
Using php with database in a javascript
This code is when i hardcore the sentence "Have a nice day!", it will echo out the exact same line. My question is what if i want to retrieve sentence from the database, instead of hard-coding it.
...
0
votes
0answers
26 views
Query mysql table for value taken from typeahead input box
I am using typeahead 0.9.3 for an autocomplete text box using a remote data source with mysql querying. For the input selected by the user, I need the value from another column of the same table of ...
0
votes
0answers
13 views
Ajax newsfeed auto refresh difficulty
I am trying to make a newsfeed for a webpage. Though the only problem I have encountered is refreshing the posts. How can I refresh the newsfeed only when new data has been inserted to mysql database? ...
-1
votes
0answers
23 views
jquery.min.js 404 Not Found, URL duplicates
I'm using ajax to fetch a list of subcategories from my MySQL server using an intermediate PHP script. The PHP script works fine and returns the json-encoded array as I intended. However, when the ...
0
votes
0answers
7 views
ImpactJS: Semi-Static Data Storage
Preface: If this question comes off as more a forum/conversation thing I apologize. I'll try to tailor it to the more succinct and decisive format of SO.
I'm working on a small project that uses the ...
0
votes
0answers
33 views
How do I send the text or value from Sencha Touch's 'selectfield' to a database using PHP?
For example, in my survey.js, say I select Department 1 from the dropdown, I then want to send 'Department 1', or its value '1' to my database.
Note: Right now my submit.php returns an error that ...
0
votes
1answer
24 views
Using php fetched value in google charts
It's my first time working with google charts.
I'm using php/mysql to query out results, and then store them in a div. I then use document.getElementByID('field).value to get it's value and use in the ...
0
votes
0answers
34 views
Saving datatime format from java or rails to mysql?
function formatDate(Day, Month, Year) {
Month++;
// adjust javascript month
if (Month < 10) Month = '0' + Month;
// add a zero if less than 10
if (Day < 10) Day = '0' + ...
0
votes
0answers
21 views
Page without directory in WordPress. how?
when I create pages on WordPress where the WordPress make directories I mean when you have a page there is a directory too
for eg.
I have domain http://example.com and I create directory homepage in ...
-1
votes
3answers
53 views
Update records without refresh
Apologies if this has been asked before but I'm not sure what to search for exactly so I thought it would be better to explain it.
I am using php to get records from a mysql table and present them. ...
0
votes
2answers
26 views
How to prevent tags and scripts from executing in HTML? [duplicate]
I am using prepared statements from Mysqli. This takes the input as text and submits it as text, preventing SQL injections.
The problem arises when I read text from database. The text I read executes ...
0
votes
1answer
11 views
Unable to input data in to mysql from cloned forms?
I am using cloned form from this reference
http://tristandenyer.com/using-jquery-to-duplicate-a-section-of-a-form-maintaining-accessibility/ .
I am trying to enter from the cloned forms in to mysql. ...
-4
votes
0answers
36 views
What is the best method of using database variables in JavaScript functions [closed]
We currently have a small website at our company that contains tools necessary for quoting items, and doing material takeoffs. Currently items such as prices, multipliers, etc (variables) are written ...