table html with PHP

table html with PHP

am 15.06.2010 21:20:55 von Emiliano Boragina

--0016e649831c22d97804891681c3
Content-Type: text/plain; charset=ISO-8859-1

Hello everyone,

I need to know how do I do a two columns table with a register per cell.



$i = 0;
while(array)
{
echo "$varible[0]";
}
j++
if j > 2
echo ""
?>


this dont work very well.
Thanks a lot

--0016e649831c22d97804891681c3--

RE: table html with PHP

am 15.06.2010 21:56:58 von 3dgtech

I assume you're looking for something like:



$i = 0;
while(array)
{
echo "";
$i++;
If ($i>1)
{
$i=0;
echo '';
}
}
?>

$varible[0]


-----Original Message-----
From: Emiliano Boragina [mailto:emiliano.boragina@gmail.com]
Sent: Tuesday, June 15, 2010 3:21 PM
To: php-db@lists.php.net
Subject: [PHP-DB] table html with PHP

Hello everyone,

I need to know how do I do a two columns table with a register per cell.



$i = 0;
while(array)
{
echo "$varible[0]";
}
j++
if j > 2
echo ""
?>


this dont work very well.
Thanks a lot


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: table html with PHP

am 15.06.2010 22:02:59 von Emiliano Boragina

--001636831d4694a0a604891717d0
Content-Type: text/plain; charset=ISO-8859-1

sorry... why $i = 0 again?

2010/6/15 Systems

> I assume you're looking for something like:
>


>
> > $i = 0;
> while(array)
> {
> echo "";
> $i++;
> If ($i>1)
> {
> $i=0;
> echo '';
> }
> }
> ?>
>
>
$varible[0]

>
> -----Original Message-----
> From: Emiliano Boragina [mailto:emiliano.boragina@gmail.com]
> Sent: Tuesday, June 15, 2010 3:21 PM
> To: php-db@lists.php.net
> Subject: [PHP-DB] table html with PHP
>
> Hello everyone,
>
> I need to know how do I do a two columns table with a register per cell.
>
>
>
> > $i = 0;
> while(array)
> {
> echo "$varible[0]";
> }
> j++
> if j > 2
> echo ""
> ?>
>
>
> this dont work very well.
> Thanks a lot
>
>

--001636831d4694a0a604891717d0--

Re: table html with PHP

am 15.06.2010 22:03:14 von Emiliano Boragina

--0016e65b61c072b04c0489171815
Content-Type: text/plain; charset=ISO-8859-1

sorry again... thanks for your answer...

2010/6/15 Emiliano Boragina

> sorry... why $i = 0 again?
>
> 2010/6/15 Systems
>
> I assume you're looking for something like:
>>


>>
>> >> $i = 0;
>> while(array)
>> {
>> echo "";
>> $i++;
>> If ($i>1)
>> {
>> $i=0;
>> echo '';
>> }
>> }
>> ?>
>>
>>
$varible[0]

>>
>> -----Original Message-----
>> From: Emiliano Boragina [mailto:emiliano.boragina@gmail.com]
>> Sent: Tuesday, June 15, 2010 3:21 PM
>> To: php-db@lists.php.net
>> Subject: [PHP-DB] table html with PHP
>>
>> Hello everyone,
>>
>> I need to know how do I do a two columns table with a register per cell.
>>
>>
>>
>> >> $i = 0;
>> while(array)
>> {
>> echo "$varible[0]";
>> }
>> j++
>> if j > 2
>> echo ""
>> ?>
>>
>>
>> this dont work very well.
>> Thanks a lot
>>
>>
>

--0016e65b61c072b04c0489171815--

Re: table html with PHP

am 15.06.2010 22:15:49 von Emiliano Boragina

--0016e64967ba8d8fed048917453f
Content-Type: text/plain; charset=ISO-8859-1

thank youuuuuu... work... I understand why the $i = 0 again... thanks thanks
thanks

2010/6/15 Systems

> I assume you're looking for something like:
>


>
> > $i = 0;
> while(array)
> {
> echo "";
> $i++;
> If ($i>1)
> {
> $i=0;
> echo '';
> }
> }
> ?>
>
>
$varible[0]

>
> -----Original Message-----
> From: Emiliano Boragina [mailto:emiliano.boragina@gmail.com]
> Sent: Tuesday, June 15, 2010 3:21 PM
> To: php-db@lists.php.net
> Subject: [PHP-DB] table html with PHP
>
> Hello everyone,
>
> I need to know how do I do a two columns table with a register per cell.
>
>
>
> > $i = 0;
> while(array)
> {
> echo "$varible[0]";
> }
> j++
> if j > 2
> echo ""
> ?>
>
>
> this dont work very well.
> Thanks a lot
>
>

--0016e64967ba8d8fed048917453f--

RE: table html with PHP

am 15.06.2010 22:59:58 von 3dgtech

------=_NextPart_000_0026_01CB0CAC.3168A180
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit

Sure thing,

Eli



(you might need to revisit the variable index - $variable[0], since this
will return the same var all the time. unless of course that's what you want
to do.)



From: Emiliano Boragina [mailto:emiliano.boragina@gmail.com]
Sent: Tuesday, June 15, 2010 4:16 PM
To: Systems
Cc: php-db@lists.php.net
Subject: Re: [PHP-DB] table html with PHP



thank youuuuuu... work... I understand why the $i = 0 again... thanks thanks
thanks

2010/6/15 Systems

I assume you're looking for something like:



$i = 0;
while(array)
{
echo "";

$i++;
If ($i>1)
{
$i=0;
echo '';
}
}
?>

$varible[0]



-----Original Message-----
From: Emiliano Boragina [mailto:emiliano.boragina@gmail.com]
Sent: Tuesday, June 15, 2010 3:21 PM
To: php-db@lists.php.net
Subject: [PHP-DB] table html with PHP

Hello everyone,

I need to know how do I do a two columns table with a register per cell.



$i = 0;
while(array)
{
echo "$varible[0]";
}
j++
if j > 2
echo ""
?>


this dont work very well.
Thanks a lot




------=_NextPart_000_0026_01CB0CAC.3168A180--