Re: [PHP] PHP and CakePHP: How to use the $html->selectTag()

2006-04-11 Thread Miles Thompson
At 11:54 PM 4/10/2006, Pham Huu Le Quoc Phuc wrote: Hi everybody! I'm a newbie. My question maybe very funny. But please answer to me if you have any ideas. I use $html->selectTag(), I don't know how to use OnChange. When User choose a item on SelectTag, I want Browser to redirect another page a

[PHP] PHP and CakePHP: How to use the $html->selectTag()

2006-04-10 Thread Pham Huu Le Quoc Phuc
Hi everybody! I'm a newbie. My question maybe very funny. But please answer to me if you have any ideas. I use $html->selectTag(), I don't know how to use OnChange. When User choose a item on SelectTag, I want Browser to redirect another page and get current value. Thank so much! -- PHP General

Re: [PHP] PHP and CakePHP

2006-03-30 Thread Mattias Thorslund
Pham Huu Le Quoc Phuc wrote: > I use CakePHP > The folowing code do not execute: > > $datetime->time2str($info['Employee']['dob']) : ""?> > > Are you sure that > $info['Employee']['dob'] isn't actually empty? To see if that's the case, you could temporarily change your code to: >

Re: [PHP] PHP and CakePHP

2006-03-30 Thread Chris
Pham Huu Le Quoc Phuc wrote: It doesn't show any thing while $info['Employee']['dob'] isn't empty. This is my code add this: $x = $datetime->time2str($info['Employee']['dob']); echo "dob: " . $info['Employee']['dob'] . "; x: " . $x . ""; and make sure that $datetime (whatever that is doing) i

Re: [PHP] PHP and CakePHP

2006-03-30 Thread Pham Huu Le Quoc Phuc
ees/del/" . $info['Employee']['id']) ?> - Original Message - From: "chris smith" <[EMAIL PROTECTED]> To: "Pham Huu Le Quoc Phuc" <[EMAIL PROTECTED]> Cc: Sent: Thursday, March 30, 2006 5:20 PM Subject: Re: [PH

Re: [PHP] PHP and CakePHP

2006-03-30 Thread chris smith
> The folowing code do not execute: > > $datetime->time2str($info['Employee']['dob']) : ""?> > What do you mean? It doesn't show anything? Then $info['Employee']['dob'] is empty. If not, explain what you see or what happens. -- Postgresql & php tutorials http://www.designmagick.com/ --

[PHP] PHP and CakePHP

2006-03-30 Thread Pham Huu Le Quoc Phuc
I use CakePHP The folowing code do not execute: time2str($info['Employee']['dob']) : ""?> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php