[php-list] Maths formulae

2007-02-14 Thread Gordon Stewart
Hi, I've created a small script to do bar-graphs for a period ofd 1 week (1 number per day...) Ive got 5 days worth of data now - & in a few days the 1st day (inly partial data so its a lot lower in volume than the rest...) The problem, is that in a few days, i'm going to have (virtually) a str

Re: [php-list] HELP question about PHP file and text

2007-02-14 Thread James Keeline
--- Mike Brandonisio <[EMAIL PROTECTED]> wrote: > Here is one way. Some else might a more compact version. > > $row = 0; > foreach( $result as $value ) { >if ( is_int($row/2) ) { > echo "italic text"; >} >$row++; > } Obviously, the above is more like pseudo-code since $value is

Re: [php-list] HELP question about PHP file and text

2007-02-14 Thread Mike Brandonisio
Hi, sorry the echo show have had $value in it like this: $row = 0; foreach( $result as $value ) { if ( is_int($row/2) ) { echo "italic text: ". $value .""; } $row++; } Sincerely, Mike -- Mike Brandonisio *IT Planning & Support Tech One Illustration

Re: [php-list] HELP question about PHP file and text

2007-02-14 Thread Mike Brandonisio
Hi, Here is one way. Some else might a more compact version. $row = 0; foreach( $result as $value ) { if ( is_int($row/2) ) { echo "italic text"; } $row++; } Here i a link to more HMTL tags: http://www.w3schools.com/html/html_formatting.asp Sincerely, Mike -- Mike Brandonis