Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+4
Strength to Decrease Rep
-1
67% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
3 Commented Posts
0 Endorsements
Ranked #3K
~40.5K People Reached
Favorite Forums
Favorite Tags
Member Avatar for dschuett

I have a scroll function that I want to fire when the user scrolls to the very bottom of the page. However it is doing the exact opposite; it is firing at the top of the page. I have used this before, and everything on the web says to do …

Member Avatar for AleMonteiro
0
297
Member Avatar for dschuett

Hi, I am a complete newbie when it comes to php. I have been searching google for a way to upload multiple pictures to a directory at one time, and at the SAME time store each pictures path into a table in the database. I have found several examples of …

Member Avatar for Gloak
0
2K
Member Avatar for dschuett

I am looking for a way to impliment an onScroll listener into my listview. I have read a lot about using: notifyDataSetChanged(); But, I honestly can't figure out how to impliment it into my working code. Currently, I pull a bunch of records into the listview from a MySQL database …

0
99
Member Avatar for dschuett

I have a problem whith my .change() function firing twice on my onClick. First of all, I know jquery has a .click function, but since my table (results) are bing displayed/pulled in dynamically from an $.ajax call I don't know of a way to bind .click since the content doesn't …

Member Avatar for AleMonteiro
0
2K
Member Avatar for dschuett

I have an application that I wrote that allows users to upload files (pictures or PDFs). I am using IIS 6 and php 5.4. The problem I am having is that it seems like file uploads are getting cached somehow. For example, if I upload the same file over and …

Member Avatar for dschuett
0
126
Member Avatar for dschuett

The code below currently pulls data from a mysql database and displays it in a ListView. What I am looking to do is find a way to have the application check the mysql database every minute or so to check for any new entries, and if it finds a new …

Member Avatar for peter_budo
0
183
Member Avatar for DaveyMoyes

Hi everyone, I have a script running on my page that uploads a new image. I am getting the information from the mysql ok, by using if (isset($_POST['var'])) { Once the vailidation is complete, at the moment I am using header("Location: url.php"); to reload the page to display the new …

Member Avatar for dschuett
0
619
Member Avatar for viper139

hi i'm trying to create a search function for my website and I keep getting this error Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/a7526299/public_html/SearchResult.php on line 158 <form action='SearchResult.php' method= 'get'> <input type='test' name='k' size='50' value='<?php echo $_GET['k']; ?>' /> <input type='submit' value='search' /> …

Member Avatar for diafol
0
404
Member Avatar for melaki

Hi all, After spending 2 days going through this code, going through search engines and endless forums trying to find a solution, i find myself still on Square 1. Therefore just before I begin hitting my head against the wall (have pity on the poor wall) I thought I'd give …

Member Avatar for |-|x
0
175
Member Avatar for dgibbons82

I am new to PHP/MySQL and currently working on a project to learn it a little better. I have a bit of PHP code and it has a problem that I'm having a little trouble figuring out. Basically, it is taking session data and writing it to a MySQL database. …

Member Avatar for veedeoo
0
301
Member Avatar for bsewell

Hello all, I'm trying to get a calculation to appear in a DIV, in HTML. The calculation shows fine with the HTML, but my problem is that the result is showing straight away. I want it to display 5 seconds after the calculation is done (it's done in jquery). What …

Member Avatar for bsewell
0
150
Member Avatar for aecha

Hi.. I need some help from all of you. My link cannot go to the next page when i include index.php?page= in my line.Like the example below.. <td><div align="center"><a href="index.php?page=view_user.php?ref1=<?php echo $row['user_id'];?>">View</a></div></td> If I remove the index.php?page= , the page can link to the page that i want to go. …

Member Avatar for aecha
0
129
Member Avatar for Heinz Stapff

OK. I'm learning. I have a side bar with pseudo links(no a tags)ul li elements that automate httprequests nicely. They call different db tables to a display div on the index page. Right now the tables are small and a javascript function deliniates the last row echoed as 'Last Item' …

Member Avatar for dschuett
0
86
Member Avatar for dschuett

I am trying to make a datepicker that sets a maxDate of 2 **business days**. Right now I am using the following: $(document).ready(function() { $('#intnewDate').datepicker({ beforeShowDay: $.datepicker.noWeekends, inline: true, dateFormat: "mm/dd/yy", changeFirstDay: false, maxDate: 2 }); }); I am disabling weekends with $.datepicker.noWeekends, but when using maxDate: 2 it counts …

0
132
Member Avatar for dschuett

I have a datepicker field that the maxDate doesn't seem to be working on. jQuery: $(document).ready(function() { $("#intorgDate").change(function() { var myDate = new Date($("#intorgDate").val()); //ENTER VALUE IN mm/dd/yy FORMAT var mymaxDate = new Date(myDate +7); $('#intnewDate').datepicker({ inline: true, dateFormat: "mm/dd/yy", changeFirstDay: false, defaultDate:myDate, minDate: myDate, maxDate: mymaxDate }); }); });​ …

Member Avatar for dschuett
0
6K
Member Avatar for dschuett

This works: while($row = mysql_fetch_array($results)){ if($isfirst){ $last_id = $row['id']; } $isfirst = 0; $msg_id = $row['id']; $message = nl2br($row['post']); $time = $row['post_time']; $name = $row['firstname']." ".$row['lastname']; if($row['updated']=='1'){ $updated = "- <font style='color:#DB4937;'>CORRECTED</font>"; } else{ $updated=''; } $newPosts .= "<li id='msgblk_$msg_id'><span id='message_$msg_id'>$message</span><p class='time' id='time_$msg_id'>$name - $time $updated</p></li>"; } $newID = $last_id; …

Member Avatar for dschuett
0
284
Member Avatar for dschuett

I am working on a live feed that pulls records from a database. Firebug shows the JSON being returned as the following: {"newPosts":"<li><span id='message_33'>This is a Test.\nLet me know if it works.<\/span><p class='time' id='time_33'>Apr 14th, 2012 10:13:57 AM<\/p><\/li>","newID":"33"} I have checked the JSON's validity at JSONLint.com, and it IS in …

Member Avatar for pritaeas
0
173
Member Avatar for ashiiiish

I am not able to set php session for starting the session I am using below code session_start(); $_SESSION['username'] = $username; For checking the session I m using <?php if (!isset($_SESSION['username'])) { header('Location: index.html'); } ?> But the session is not being set as I am not able to grep …

Member Avatar for IIM
0
213
Member Avatar for KeithMon

I've created a **login script** using **PHP** that connects to a `users` table from a **MySQL** DB. It's very simple and currently is not encrypted (it will be before I take the site live...I'd love some suggestions on current password security features too). **My issue is that the username-check is …

Member Avatar for dschuett
0
4K
Member Avatar for dschuett

I have a form that auto-populates an "original date" field based on the previous field that is filled in. What I am looking to do is the following: Once the "original date" is auto-populated (in the format of 04/09/2012), I need the next field "new date" to automatically have a …

0
135
Member Avatar for dschuett

I am pulling more results from a database using getJSON/jQuery. The link works fine in Chrome, but in IE 9 I get the following error: "SCRIPT1002: Syntax error index2.php, line 2 character 1" which points to: [CODE]<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">[/CODE] However even if I remove the DOCTYPE it just complains …

Member Avatar for dschuett
-1
215
Member Avatar for dschuett

I am trying to archive a database entry using .post, but I am getting this error: "Uncaught SyntaxError: Unexpected token (" I am defintely still in the learning phase of jQuery, so any help is appreciated! [CODE] //Archive Table Row function archiveEntry(id){ function(){ if (confirm("Archive Fill #"+id+"?")) { $.post('/elevator/scripts/php-inc/archive.php', {id: …

Member Avatar for dschuett
0
101
Member Avatar for yanwick

Hi, I'm new to JQuery/Ajax with PHP. I'm calling a PHP file, and all the code runs well, except for the echo's. The echo's are not showing and they were supposed to be showing . Here are both my files(Which are very simple): (x.php(main file) and sugere.php(the called file)) X.PHP …

Member Avatar for diafol
0
858
Member Avatar for dschuett

I have been doing some research on how to go about using a random salt per user's password. There are a few things that I am still unsure about. It is easy enough to store a random hash using something as the following: [CODE] <?php $password = 'MySuperSectretPassword!'; $salt = …

Member Avatar for dschuett
0
138
Member Avatar for dschuett

I have implemented a tooltip on my navigational links (after clicking on the 2006 Volvo 780). Found here: http://www.lonemountaintruck.com/partners/index2.php I am pulling the "detailed" view of the truck into the div from a php file(loadtrucks.php). The "Next Rig" link is the link that is causing the tooltip to stay open …

Member Avatar for dschuett
0
203
Member Avatar for dschuett

I have the following code working just fine, however I cannot get the .show('slow') on the "myDiv" content to "slow" down when displaying. Actually I can remove the .show('slow') all together and everything still works just fine. It is as if it is ignoring the .show() completely on that line. …

Member Avatar for twiss
0
170
Member Avatar for dschuett

I have the following code doing ALMOST what I want. It shows an input field when the select value is "dropped". The problem I am having is that if I select "dropped" it will display the input field, but if i select a different value AFTER selecting "dropped" the input …

Member Avatar for Airshow
0
625
Member Avatar for dschuett

I have an onclick that triggers ajax which calls a php script to pull data from MySQL. This information is then displayed in a div. The problem I am having is that sometimes pulling the data from MySQL takes 2-3 seconds, so the div is empty for about 2-3 seconds. …

Member Avatar for dschuett
0
395
Member Avatar for dschuett

I have a php script that pulls several rows of invoices from a database and displays them on the screen in table format. I have created an onclick per row within the while loop in order call another php script that runs a query to pull all the attachments for …

Member Avatar for Akash Saikia
0
1K
Member Avatar for dschuett

Hi everyone. I am still very much in the learning phase of JQuery and AJAX, so your help is VERY much appreciated! I have created a webpage that has two tables of invoice records, which are printed to the screen using a php while loop. The first table is a …

0
100