RE: [PHP-DB] table html with PHP
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.borag...@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 youu... work... I understand why the $i = 0 again... thanks thanks thanks 2010/6/15 Systems I assume you're looking for something like: $varible[0]"; $i++; If ($i>1) { $i=0; echo ''; } } ?> -Original Message- From: Emiliano Boragina [mailto:emiliano.borag...@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. $varible[0]"; } j++ if j > 2 echo "" ?> this dont work very well. Thanks a lot
Re: [PHP-DB] table html with PHP
thank youu... 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 "$varible[0]"; > $i++; >If ($i>1) > { >$i=0; >echo ''; >} >} > ?> > > > > -Original Message- > From: Emiliano Boragina [mailto:emiliano.borag...@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 > >
Re: [PHP-DB] table html with PHP
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 "$varible[0]"; >> $i++; >>If ($i>1) >> { >>$i=0; >>echo ''; >>} >>} >> ?> >> >> >> >> -Original Message- >> From: Emiliano Boragina [mailto:emiliano.borag...@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 >> >> >
Re: [PHP-DB] table html with PHP
sorry... why $i = 0 again? 2010/6/15 Systems > I assume you're looking for something like: > > >$i = 0; >while(array) >{ >echo "$varible[0]"; > $i++; >If ($i>1) > { >$i=0; >echo ''; >} >} > ?> > > > > -Original Message- > From: Emiliano Boragina [mailto:emiliano.borag...@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 > >
RE: [PHP-DB] table html with PHP
I assume you're looking for something like: $varible[0]"; $i++; If ($i>1) { $i=0; echo ''; } } ?> -Original Message- From: Emiliano Boragina [mailto:emiliano.borag...@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. $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