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
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:
>
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
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
> 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/
--
5 matches
Mail list logo