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
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
I use CakePHP
The folowing code do not execute:
td align=center
?=(!empty($info['Employee']['dob'])) ?
$datetime-time2str($info['Employee']['dob']) : ?
/td
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
The folowing code do not execute:
td align=center
?=(!empty($info['Employee']['dob'])) ?
$datetime-time2str($info['Employee']['dob']) : ?
/td
What do you mean? It doesn't show anything? Then
$info['Employee']['dob'] is empty.
If not, explain what you see or what happens.
--
/ .
$info['Employee']['id'])
?
/td
/tr
?php
endforeach;
?
- Original Message -
From: chris smith [EMAIL PROTECTED]
To: Pham Huu Le Quoc Phuc [EMAIL PROTECTED]
Cc: php-general@lists.php.net
Sent: Thursday, March 30, 2006 5:20 PM
Subject: Re: [PHP] PHP and CakePHP
Pham Huu Le Quoc Phuc wrote:
It doesn't show any thing while $info['Employee']['dob'] isn't empty.
This is my code
?php
$stt = 0;
foreach($data as $info):
add this:
$x = $datetime-time2str($info['Employee']['dob']);
echo dob: . $info['Employee']['dob'] . ; x: . $x . br/;
and
Pham Huu Le Quoc Phuc wrote:
I use CakePHP
The folowing code do not execute:
td align=center
?=(!empty($info['Employee']['dob'])) ?
$datetime-time2str($info['Employee']['dob']) : ?
/td
Are you sure that
$info['Employee']['dob']
isn't actually empty?
To see if that's the case,
7 matches
Mail list logo