Angelo Zanetti mailto:[EMAIL PROTECTED]
on Tuesday, September 30, 2003 5:43 AM said:
hi I have a table with rows and each row contains a checkbox ( array)
and a record. TD of the checkbox:
echo(td width=15 bgcolor=#9FD9FFinput type=checkbox name=chkR[]
value=. $chkSessionF[$i] ./td);
On Wednesday 01 October 2003 00:10, Chris W. Parker wrote:
[snip]
If you're not sure what a value is use print_r() to determine it.
echo pre;
print_r($chk);
echo /pre;
Quick side note on the above code:
You cannot write it like:
echo pre.print_r($chk)./pre;
It will not work.
You
Jason Wong mailto:[EMAIL PROTECTED]
on Tuesday, September 30, 2003 11:06 AM said:
echo pre.print_r($chk)./pre;
It will not work.
You can do this though:
echo pre, print_r($chk), /pre;
Well heck, that makes things easier!
What's the difference between using , or . for
On Wednesday 01 October 2003 02:14, Chris W. Parker wrote:
Jason Wong mailto:[EMAIL PROTECTED]
on Tuesday, September 30, 2003 11:06 AM said:
echo pre.print_r($chk)./pre;
It will not work.
Actually, the above *does* work!
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open
From: Chris W. Parker [EMAIL PROTECTED]
echo pre.print_r($chk)./pre;
It will not work.
You can do this though:
echo pre, print_r($chk), /pre;
Well heck, that makes things easier!
What's the difference between using , or . for concatenation? (I thought
they were the same.)
Using a
From: Jason Wong [EMAIL PROTECTED]
On Wednesday 01 October 2003 02:14, Chris W. Parker wrote:
Jason Wong mailto:[EMAIL PROTECTED]
on Tuesday, September 30, 2003 11:06 AM said:
echo pre.print_r($chk)./pre;
It will not work.
Actually, the above *does* work!
It depends on how
Jason Wong mailto:[EMAIL PROTECTED]
on Tuesday, September 30, 2003 11:27 AM said:
echo pre.print_r($chk)./pre;
It will not work.
Actually, the above *does* work!
Not for me. (Although we may be testing different things.)
?
$pageTitle = Checkout Step One;
echo
CPT John W. Holmes mailto:[EMAIL PROTECTED]
on Tuesday, September 30, 2003 11:32 AM said:
Note that print_r() will (by default) return a 1 (TRUE) upon success,
so you end up with a 1 being printed at the end of your data.
[snip]
That answers it!
c.
--
PHP General Mailing List
--- Chris W. Parker [EMAIL PROTECTED] wrote:
What's the difference between using , or . for concatenation? (I
thought they were the same.)
The comma isn't concatenation; echo can take multiple arguments.
I've heard statements about passing multiple arguments to echo being faster
than using
From: Chris W. Parker [EMAIL PROTECTED]
CPT John W. Holmes mailto:[EMAIL PROTECTED]
on Tuesday, September 30, 2003 11:32 AM said:
Note that print_r() will (by default) return a 1 (TRUE) upon success,
so you end up with a 1 being printed at the end of your data.
[snip]
That answers
Chris Shiflett mailto:[EMAIL PROTECTED]
on Tuesday, September 30, 2003 11:39 AM said:
The comma isn't concatenation; echo can take multiple arguments.
Oh ok, I get it.
I've heard statements about passing multiple arguments to echo being
faster than using concatenation, but every
On Wednesday 01 October 2003 02:32, Chris W. Parker wrote:
Jason Wong mailto:[EMAIL PROTECTED]
on Tuesday, September 30, 2003 11:27 AM said:
echo pre.print_r($chk)./pre;
It will not work.
Actually, the above *does* work!
Not for me. (Although we may be testing different things.)
On Tue, Sep 30, 2003 at 09:10:44AM -0700, Chris W. Parker wrote:
:
: Angelo Zanetti mailto:[EMAIL PROTECTED]
: on Tuesday, September 30, 2003 5:43 AM said:
:
: hi I have a table with rows and each row contains a checkbox ( array)
: and a record. TD of the checkbox:
: echo(td width=15
Eugene Lee mailto:[EMAIL PROTECTED]
on Tuesday, September 30, 2003 2:12 PM said:
A heredoc is more readable:
echo HTMLTAG
td width=15 bgcolor=#9FD9FFinput type=checkbox name=chkR[]
value={$chkSessionF[$i]}/td
HTMLTAG;
Yeah, but I don't like those. :P
chris.
--
PHP General Mailing
14 matches
Mail list logo