RE: [PHP] 2 newbie questions ;)

2002-04-12 Thread Collins, Robert
1. This should work (notice quotes around var) : This is incorrect (it only shows the first word) : > 2. not sure about the second question but have you tried removing the target, it seems to me that a target might not be necessary since the link should already be opening an application that is

RE: [PHP] 2 NEWBIE QUESTIONS

2001-08-22 Thread Matthew Loff
1) strftime("%T on the %D", strtotime($yourdate)); Should produce: 00:12:45 on the 08-22-2001 You can check the manual page for strftime() to see different ways to format the time to your liking: http://www.php.net/manual/en/function.strftime.php 2) The way you're trying to do that sound

RE: [PHP] 2 NEWBIE QUESTIONS

2001-08-22 Thread Kees Hoekzema
hey, > > 1) Is there any PHP command that'll convert a MySQL database > timestamp into > a format that humans can read?!! For example, I want to change > "20010822001245" into "00:12.45 on the 22-08-2001"? take a look at: http://www.php.net/manual/en/function.date.php > 2) This is the hard que

RE: [PHP] 2 NEWBIE QUESTIONS

2001-08-22 Thread Jason Murray
> 1) Is there any PHP command that'll convert a MySQL database > timestamp into a format that humans can read?!! For example, I want to > change "20010822001245" into "00:12.45 on the 22-08-2001"? \n"; return $unix; } ?> You could add a $dateformat input variable, and execute Date() i