Welcome visitor
* Login
* Register
It is currently March 24th, 2019, 12:55 am
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Server Side » PHP



Post new topic Reply to topic  [ 2 posts ] 
Author Message
  simple php
PostPosted: April 24th, 2009, 6:12 am 
User avatar

Posts: 42
Ok, i send my form to php and there is a date on dd/mm/yyyy format, each number on a diferent variable. How can i put them all together to print them as a single date? Thank you.


Top
 Profile  
 
  Re: simple php
PostPosted: April 24th, 2009, 6:17 am 

Posts: 55
supposing that your fields name are actually dd mm and yyyy and that you have extracted the $_POST, use this
$date=$dd.'/'.$mm.'/'.$yyyy;
echo $date;

if you have problems naming the fields or extracting the $_POST, post again ;)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

FORUMS » Server Side » PHP


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron