Hi people,
I have some doubts about this topic that I'm gonna explain.
I have a few sites in flash, and I was requested to write a PHP frontend
to send news. I have this already done and it works perfect. It's a LAMP
App to send and edit news, post video, images and so on.
Then, I need to put
Thanks.
I solved it using this :
$x = 0;
foreach ($equipos as $key => $val){
$x = $x + 1;
echo "";
echo $x . "";
2007/11/15, Michael McGlothlin <[EMAIL PROTECTED]>:
>
> $x = 0;
> foreach ( $blah as $bleh ) {
> $x = $x + 1;
> print "$x: $bleh";
> }
>
> > HI,
> > I'm working with an associative
2007/11/15, Philip Thompson <[EMAIL PROTECTED]>:
>
> On Nov 15, 2007 5:12 PM, Juan Marcelo Rodríguez <
> [EMAIL PROTECTED]>
> wrote:
>
> > Yes, I made a mistake in the first sentence.
> >
> > The code is :
> > [...]
> >
> > f
quot;" . "";
echo $val . "";
print "" . "";
}
?>
I use the array to generate the name of the radio and so on. However I had
problems with the counter.
Thanks
2007/11/15, Stut <[EMAIL PROTECTED]>:
>
> Juan Marcelo Rodríguez wrote:
>
HI,
I'm working with an associative array, and generating its data a form. I use
foreach to loops the contents of the array and echo to print the table and
the data. Everything goes well, however I would like to add a counter to
print the row's number.
The question : Am I able to add a counter wit
5 matches
Mail list logo