Skip to content

Instantly share code, notes, and snippets.

var stateTable = [
{value:'AL',label:'Alabama'},
{value:'CA',label:'California'},
{value:'NY',label:'New York'},
{value:'NC',label:'North Carolina'},
{value:'WV',label:'West Virginia'},
{value:'WI',label:'Wisconsin'}
];
var handleCancel = function() {
2 this.cancel();
3 }
4 var handleSubmit = function() {
5 this.submit();
6 }
7 var myButtons = [ { text:"Submit", handler:handleSubmit, isDefault:true },
8 { text:"Cancel", handler:handleCancel } ];
9 myDialog.cfg.queueProperty("buttons", myButtons);
<b>Strict Standards</b>: date() [<a href='function.date'>function.date</a>]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for '-4.0/DST' instead in <b>C:\wwwroot\_techdocs\db_taskmanager.php</b> on line <b>68</b><br />
XMLDocID: 397
<?php
$SQL="SELECT UserID, CONCAT(LastName, ',', Firstname) AS FullName FROM Users ORDER BY LastName, FirstName";
// prepare statement
if ($stmt = $oTechdocs->prepare($SQL)) {
$stmt->execute() or die ("Could not execute statement"); // execute prepared statement
$stmt->bind_result($UserID, $FullName);
while ($r = $stmt->fetch()) {
var DD1handleSuccess = function(o){
YAHOO.DDSuccess.dd1 = true;
testAsyncSuccess();
}
};
var DD1handleFailure = function(o){
YAHOO.DDSuccess.dd1 = false;
};
// Get list of users
YAHOO.namespace("DDSuccess");
YAHOO.DDSuccess = { dd1:null, dd2:null };
var sUrl1 = 'db_taskmanager.php?action=select-users';
// Dropdown 1
var DD1handleSuccess = function(o){
test();
if(o.responseText !== undefined){
// Get list of users
YAHOO.namespace("DDSuccess");
YAHOO.DDSuccess = { dd1:null, dd2:null };
var sUrl1 = 'db_taskmanager.php?action=select-users';
// Dropdown 1
var DD1handleSuccess = function(o){
YAHOO.DDSuccess.dd1 = true;
if(o.responseText !== undefined){
$ git push td master
myserver.com[0: 75.77.32.24]: errno=Invalid argument
fatal: unable to connect a socket (Invalid argument)
drwxrwsr-x 2 root git 4096 Aug 24 16:40 branches
-rw-rw-r-- 1 root git 126 Aug 24 16:40 config
-rw-rw-r-- 1 root git 73 Aug 24 16:40 description
-rw-rw-r-- 1 root git 23 Aug 24 16:40 HEAD
drwxrwsr-x 2 root git 4096 Aug 24 16:40 hooks
drwxrwsr-x 2 root git 4096 Aug 24 16:40 info
drwxrwsr-x 4 root git 4096 Aug 24 16:40 objects
drwxrwsr-x 4 root git 4096 Aug 24 16:40 refs
Counting objects: 3053, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (2733/2733), done.
Writing objects: 100% (3053/3053), 9.42 MiB | 203 KiB/s, done.
Total 3053 (delta 1364), reused 0 (delta 0)
fatal: Unable to create 'refs/heads/master.lock': Permission denied
fatal: The remote end hung up unexpectedly