Hi all,
I know this isn't related to script or code but i'm having a hell of a time with my vps and getting node.js and mongo working correctly on my hostgator vps. If anyone can assist me I'd...
Type: Posts; User: crobinson42; Keyword(s):
Hi all,
I know this isn't related to script or code but i'm having a hell of a time with my vps and getting node.js and mongo working correctly on my hostgator vps. If anyone can assist me I'd...
I'm fascinated with a shortcut for javascript apps and event listeners - i'd like to share this with everyone (newbies especially)!
On your page you have several buttons:
<button...
Thanks for the info John. Here's the simple solution to my problem is was having in case a newbie runs into the problem:
var unixTimestamp = '2014-12-10 09:10:05';
var unixTime = new...
Hi All,
I'm having a difficult time understanding why browsers don't accept "-" in a timestamp (http://dygraphs.com/date-formats.html). I'm wondering if anyone has a solution for testing mysql...
$.ajaxSetup({ cache: false });
Did the trick!! Thank you :-)
I'm having a difficult time with my script, i'm newer to js also. The problem i'm having is the script will execute once just fine, however if you attempt to start the search over, it hangs.
...
It's a bug in the UI, here's the solution:
$('#tabs ul li a').click(function () {location.hash = $(this).attr('href');});
This is extremely frustrating! I've tried all browsers and none of them work.
the below code does nothing.
$(function() {
$("#tabs").tabs();
...
What is your experience with php? I think you'll find a more enlightening approach if you used javascript/jquery to accomplish your requests. However, if you're going to stay with this form, a messy...
You're not calling session_start() at the top of your login page.
*SO, it's not setting the session variable that you're checking in the order_form.php page... it's infinitely going to loop back...
I have a question about a pretty heavily coded jquery application i'm designing. All content is loaded via ajax into div's and most of the pages that are loaded into the div's have their own <script>...
What am i doing wrong?!
$user->getUserRegions($uid);
function getUserRegions($uid){
global $mysqli;
$stmt=$mysqli->prepare("SELECT user_region.default, company_region.name FROM...
Correct. I include the pages with the classes that i need as needed. My question is if I were to simply put all my classes in one file -would a file with 10 different classes cause slower load then...
Hello everybody, this might be a dumb question but i can't get an answer from google on this topic and i do not fully understand php.net explanation of this topic.
I have several different classes...
That makes a little sense, here's an example of my concern:
My index page loads a page using jquery into a div element on the page -the page being loaded into the div contains this code:
...
Hey all,
I have a page that uses $.load() to bring a page into a div, within THAT div another page is brought in using $.load(). What i've noticed is if i load a page with javascript functions in...
Thanks for your time in explaining this, i appreciate it.
This query is before the one thats been throwing the prepare error.
$stmt=$mysqli->prepare("SELECT * FROM sales_file WHERE `id`=?");
$stmt->bind_param('s',$file);
$stmt->execute();...
function getServiceTypes($id){
global $mysqli;
$stmt=$mysqli->prepare("SELECT `id`,`file`,`type` FROM sales_file_type WHERE `file`=?");
if( !($stmt instanceof mysqli_stmt) ){
// BAD...
prepare() didn't work: Commands out of sync; you can't run this command now
Duuuuuude! Sometimes sleep deprivation and too much coffee will make you overlook the DUMB little mistakes!!
THANKS!
function getServiceTypes($id){
global $mysqli;
if($stmt=$mysqli->prepare("INSERT INTO sales_file_type WHERE `file`=?")){
$stmt->bind_param('s',$id);
$stmt->execute();...
Hello all,
I am using mysqli prepared statements and I have moved to my first medium sized project which i'm having a problem with objects now. I have a broad understanding of the objects and...
This page is loaded into the document... and at the bottom you see it sets the var 'currentDate'.. the alert right below the var shows the current date and fires correctly.
<?php...
I have a page that sets a global variable with the date, the ajax loaded content requests that date but for some reason is not working.
I use jquery load() to bring the new page into the div and...