Mail from GioMBG > adventure in a while cycle of a donkey with php and sql

Mail from GioMBG > adventure in a while cycle of a donkey with php and sql

am 02.11.2007 18:31:30 von Gio MBG Canepa root

Hi All!
This is to write wiki code and insert near some dinamic link some names =20
of "tracks", the dinamic link is generated but I don't know the way to chan=
ge=20
the var "$TITOLO1" to "$TITOLO2" for retrive the next records=20

I have in database:
TITOLO1 Pippo1
TITOLO2 Pippo2
TITOLO3 Pippo3
TITOLO4 Pippo4
TITOLO5 Pippo5
TITOLO6 Pippo6
TITOLO7 Pippo7
TITOLO8 Pippo8
TITOLO9 Pippo9

$NTRACK =3D 3;
$count =3D 1;
while ($count <=3D $NTRACK) {
=A0 echo "$count
#[[http://$LA_BEL/A/download.php?download=3D$LRA$count $TITOLO1]]
";
++$count;
}
?>

now I receive all but I don't know how to do to change the var "$TITOLO1" t=
o=20
+1 like to "TITOLO2" at every cycle.
1 #[[http://9records.com/A/download.php?download=3D161 Pippo1]]
2 #[[http://9records.com/A/download.php?download=3D162 Pippo1]]
3 #[[http://9records.com/A/download.php?download=3D163 Pippo1]]

I would like to make/see:
1 #[[http://9records.com/A/download.php?download=3D161 Pippo1]]
2 #[[http://9records.com/A/download.php?download=3D162 Pippo2]] <---
3 #[[http://9records.com/A/download.php?download=3D163 Pippo3]] <---

Suggestions, matches,?
Thanks respect
Yours donkey
GioMBG
=2D-=20
Gi=F2 "MBG" Canepa - E Mail: mbg at mbg.it
Phone & Fax +39 0541 985 737 - Mobile +39 393 33 567 07
http://www.mbg.it | http://www.9Records.com
Snail mail P.O. Box 59 / 47838 Riccione Italy

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