Click here to Skip to main content
15,899,603 members
Home / Discussions / Linux, Apache, MySQL, PHP
   

Linux, Apache, MySQL, PHP

 
QuestionDisplay results based on dropdown selected dropdown value Pin
samflex10-Mar-15 7:47
samflex10-Mar-15 7:47 
AnswerRe: Display results based on dropdown selected dropdown value Pin
tobisoft28-Apr-15 13:34
tobisoft28-Apr-15 13:34 
GeneralRe: Display results based on dropdown selected dropdown value Pin
nilprajapati8-Dec-15 22:13
nilprajapati8-Dec-15 22:13 
QuestionCan't get ubuntu boot to recognize USB drive! Pin
swampwiz22-Feb-15 7:46
swampwiz22-Feb-15 7:46 
QuestionHow Can I Detect Whether My Total Price Is Greater Than The Price I Inputted On Textbox Pin
Patrick sarmiento12-Feb-15 20:49
Patrick sarmiento12-Feb-15 20:49 
SuggestionRe: How Can I Detect Whether My Total Price Is Greater Than The Price I Inputted On Textbox Pin
Richard MacCutchan12-Feb-15 22:50
mveRichard MacCutchan12-Feb-15 22:50 
QuestionPass datepicker value to PHP & MySQL Pin
Jassim Rahma7-Feb-15 23:28
Jassim Rahma7-Feb-15 23:28 
AnswerRe: Pass datepicker value to PHP & MySQL Pin
Thomas Daniels8-Feb-15 2:59
mentorThomas Daniels8-Feb-15 2:59 
strtotime converts a date string to a Unix timestamp: http://php.net/manual/en/function.strtotime.php[^]
php.net says:
The function expects to be given a string containing an English date format and will try to parse that format into a Unix timestamp (the number of seconds since January 1 1970 00:00:00 UTC)

To format the date, use the date function:
PHP
$timestamp = strtotime($_POST['dateFrom']);
$formatted_date = date("[format here]", $timestamp);

I don't know which format you want exactly, so you can take a look at the PHP manual to see how you can format your date:
http://php.net/manual/en/function.date.php[^]
The quick red ProgramFOX jumps right over the Lazy<Dog>.

QuestionMake this Hashing in PHP Pin
Jassim Rahma28-Jan-15 21:05
Jassim Rahma28-Jan-15 21:05 
AnswerRe: Make this Hashing in PHP Pin
Richard MacCutchan28-Jan-15 21:24
mveRichard MacCutchan28-Jan-15 21:24 
Question$_COOKIE[session_name()] vs session_id() which one holds good? Pin
Jayapal Chandran28-Jan-15 10:11
Jayapal Chandran28-Jan-15 10:11 
QuestionApache2.sin do not peer *.pl domain Pin
pixcraft14-Jan-15 2:33
pixcraft14-Jan-15 2:33 
QuestionFlash drive on Linux Pin
ForNow13-Dec-14 14:28
ForNow13-Dec-14 14:28 
AnswerRe: Flash drive on Linux Pin
Michael Martin9-Jan-15 20:22
professionalMichael Martin9-Jan-15 20:22 
Questionselectbox sql problems Pin
ceewhitehead7-Nov-14 0:39
ceewhitehead7-Nov-14 0:39 
AnswerRe: selectbox sql problems Pin
Richard MacCutchan7-Nov-14 0:59
mveRichard MacCutchan7-Nov-14 0:59 
GeneralRe: selectbox sql problems Pin
ceewhitehead7-Nov-14 2:29
ceewhitehead7-Nov-14 2:29 
GeneralRe: selectbox sql problems Pin
Richard MacCutchan7-Nov-14 2:40
mveRichard MacCutchan7-Nov-14 2:40 
Questionzend & php code Pin
vaguemind2-Nov-14 21:02
vaguemind2-Nov-14 21:02 
Questionlaunch a web app using python Pin
Member 94937201-Nov-14 22:02
Member 94937201-Nov-14 22:02 
AnswerRe: launch a web app using python Pin
Richard MacCutchan1-Nov-14 22:09
mveRichard MacCutchan1-Nov-14 22:09 
QuestionCode Samples Pin
Brandi Boseman29-Oct-14 8:00
Brandi Boseman29-Oct-14 8:00 
AnswerRe: Code Samples Pin
ZurdoDev29-Oct-14 8:09
professionalZurdoDev29-Oct-14 8:09 
GeneralRe: Code Samples Pin
Brandi Boseman29-Oct-14 8:22
Brandi Boseman29-Oct-14 8:22 
QuestionRe: Code Samples Pin
ZurdoDev29-Oct-14 8:24
professionalZurdoDev29-Oct-14 8:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.