Tagged Questions
0
votes
0answers
18 views
How are these line breaks being saved into MySql DB?
I've got a text area that I am using JS to split into an array of each line...
textArray = text.split('\n');
At this point I would think that the lines would lose the line beak, but they dont.. so ...
0
votes
0answers
43 views
Including a message function to my Javascript UTC countdown timer
So I have this UTC 24 hour countdown timer, which keeps repeating. My question is if I am able to add a message to my timer, for example:
When the timer hits zero, a message is displayed from my ...
0
votes
0answers
54 views
Displaying javascript variables and database values?
Is there a way to display javascript variables and mysql values in a sort of label? As in say you have a letter template and there are spaces in the template where values from a database should be ...
0
votes
2answers
44 views
Update JSON through a form? [closed]
i have some json that i keep updated manually, but as the data is sent to me via e-mail, the more data the comes in the more time i'm spending writing json
is there a way to build a form that will ...
1
vote
2answers
90 views
Syncing Database and Javascript
I'm working on a real-time JavaScript Application that requires all changes to a database are mirrored instantly in JavaScript and vise versa.
Right now, when changes are made in JavaScript, I make ...
0
votes
2answers
53 views
Which's the best DB(NoSQL or regular SQL) to choose using Node.js? [closed]
I've read that there are more information about using MongoDB with Node.js rather than MySQL and that is a concern for me, because I'm used to work with MySQL. In terms of development and performance ...
0
votes
0answers
50 views
SQLite to MySQL, how to do it?
Hi and sorry for my bad english.
I made a phonegap app with a SQLite database and I want to make a desktop version of it with a local MySQL database.
It's just a test so I would like to do it ...
0
votes
3answers
121 views
The correct syntax for a JavaScript function within a function
The function pagination($total, $limit, $page) returns page numbers [pg#01 pg#02 pg#03 pg#04 NEXT].
By clicking on the page number (eg. pg#02), javascript:showPagination('what_here') is supposed to ...
0
votes
2answers
1k views
Google Pie Charts and PHP
I would like to have a Google pie chart on my website. The pie chart would be filled with data from the database. I was loooking at some examples at ...
0
votes
0answers
126 views
Unable to generate JSON response from PHP implicit join query
I am trying to get a response from a PHP MySQL query constructed using an implicit join into a JSON response. But in the logcat, I am getting a null response. I am completely new to databases and ...
0
votes
3answers
77 views
PHP\MYSQL\AJAX(?) - Struggling with how to dynamically update form without invoking page refresh
Ok, so I'm fairly new to dynamically updating a database without invoking a page refresh. I'm trying to create, on a far simpler scale, something like http://mytinytodo.net/
The end goal that I'm ...
0
votes
1answer
32 views
load more items after sorting the distance
I am making a location based application using phonegap, first I get all the data from the web wich is a json format, and then I store all the data into json array objects, Then I sort the array ...
2
votes
3answers
83 views
update data in the div
I have a problem with updating the data I display from my db. Initially, when the page opens I display the date corresponding to the current date but then the user can change the date by entering it ...
-2
votes
1answer
54 views
No values being sent to my php script from ajax [closed]
Alright, so I am trying to make a [relatively] simple contact form that uses ajax and php to write that data into a database once the form is submitted. I don't get any errors in my javascript or my ...
0
votes
1answer
26 views
Deny direct access to any files in a folder using apache/php
This might seem like a duplicate question but I have tried the solution given in the similar questions.
I want to limit access to files in a few folders on my apache server so that they can only be ...