PHP

Support group for those afflicted with PHP. Don't ask to ask, ...
Mar 9, 2016 10:53
My question is, how to get object created date ( system metadata ) of s3 bucket using php?
Mar 9, 2016 10:53
ok @DamienOvereem
Mar 9, 2016 10:44
can anyone help me plz
Mar 9, 2016 10:44
i need a help on handling amazon s3 objects using php
Mar 9, 2016 10:44
hi
Mar 2, 2016 10:29
could you give me any sample
Mar 2, 2016 10:28
i tried the given code but is shows wrong order only
Mar 2, 2016 10:28
$document_list = array( '01-14-2013', '01-12-2013', '04-05-2016' );
usort($document_list, array($this, "sortByDate"));

function sortByDate($a, $b) {
return strcmp($b['createdDate'], $a['createdDate']);
}
Mar 2, 2016 10:27
@Gordon
Mar 2, 2016 10:27
i tried some of examples, but it shows wrong output only
Mar 2, 2016 10:26
could anyone help me plz,
Mar 2, 2016 10:25
i wants to sort a array in descending order based on date
Mar 2, 2016 10:25
i need a help guys,
Mar 2, 2016 10:25
hi
Jan 8, 2016 07:30
for today basis
Jan 8, 2016 07:30
DB => 19:00 UTC
Jan 8, 2016 07:30
input => 2:00 pm
Jan 8, 2016 07:26
@jbafford Actually, now i am creating a schedule with time of 2:00 pm EST ( it should execute on 2:00 pm everyday ), i stored into db like 19:00 UTC. Now it is working well. But for May month, when converting the same value into current time it returns as 3:00 pm EDT. But i scheduled it for 2:00 pm only.
Jan 8, 2016 07:08
In another issue is if the user created a schedule on EDT zone like May month, it should be execute based on presets time only not by zone, that is the problem actually
Jan 8, 2016 07:06
January 8 19:00 UTC it is stored on DB when creating schedule.
Jan 8, 2016 07:06
it executes the query if January 8 19:00 UTC equal to current UTC time
 

JavaScript

Topic: Anything JavaScript, ECMAScript including Node, React, ...
Feb 24, 2016 05:30
this code is only working on firefox and chrome.. not in safari and edge browsers
Feb 24, 2016 05:30
what is the best method to get selected text using safari browser ( mac )?
Feb 24, 2016 05:29
but i need help on this code
Feb 24, 2016 05:29
thx
Feb 24, 2016 05:28
var txt = '';
if (window.getSelection)     {
    txt = window.getSelection();
}
else if (document.getSelection)     {
    txt = document.getSelection();
}
else if (document.selection)     {
    txt = document.selection.createRange().text;
}
var selection = txt.getRangeAt(0);
Feb 24, 2016 05:25
sorry
Feb 24, 2016 05:24
i used this code
Feb 24, 2016 05:19
give me one minute
Feb 24, 2016 05:18
but it is working on chrome
Feb 24, 2016 05:18
could you help me plz
Feb 24, 2016 05:18
it doesn't working on safari (mac) and Edge ( windows 10 ) browsers
Feb 24, 2016 05:17
yes
Feb 24, 2016 05:17
i need to return selected text using javascript
Feb 24, 2016 05:17
i need a help on document.getSelection()
Feb 24, 2016 05:17
hi
 

Trash can

Like the recycle bin, but trashier.
Feb 24, 2016 05:25
var txt = '';
if (window.getSelection)
{
txt = window.getSelection();
}
else if (document.getSelection)
{
txt = document.getSelection();
}
else if (document.selection)
{
txt = document.selection.createRange().text;
}

var selection = txt.getRangeAt(0);
Feb 24, 2016 05:23
var txt = '';
if (window.getSelection)
{
txt = window.getSelection();
}
else if (document.getSelection)
{
txt = document.getSelection();
}
else if (document.selection)
{
txt = document.selection.createRange().text;
}

var selection = txt.getRangeAt(0);
 

HTML / CSS / WebDesign

This room is now defunct. RIP.
Feb 11, 2016 09:46
So here i would like to display the query that was entered in textarea with formatted look which was made by user in alert box.
Feb 11, 2016 09:44
@StephanMuller i have implemented it by using sql formatter plugin, but now i the requirement is the user can format the query by using intent and highlight certain text in query while entering on textarea.
Feb 11, 2016 09:40
@MethodMan
Feb 11, 2016 09:37
mysql
Feb 11, 2016 09:27
can you help me guyz? plz
Feb 11, 2016 09:27
i needs to implement sql formatting functionality using jquery
Feb 11, 2016 09:27
hi
 

Web Developers

Room to discuss javascript and jquery, php and mysql issues. b...
Feb 11, 2016 09:35
this is my question
Feb 11, 2016 09:35
0
Q: How to add SQL formatting functionality on textarea?

GuganI wants to implement a functionality that format SQL within textarea. So the textarea should allows user to indent and highlight certain text ( SQL ) based on their interest and i would like to display the formatted query within alert box using jquery. Thanks in advance.

Feb 11, 2016 09:30
i wants to implement a functionality that format a sql
Feb 11, 2016 09:30
Hi i need your help guyz
 
Jan 21, 2016 04:29
I understand and will obey all rules.