You basically dont need the for loop all you have to do is increment the
value of the variable by one each time in the while loop
Devraj
Louie Miranda wrote:
Hi, im trying to create a number loop on a table where the data came
in a database.
I have tried the for "loop" and counted $countCards_res
Hi, im trying to create a number loop on a table where the data came
in a database.
I have tried the for "loop" and counted $countCards_result from the
table where im going to get all the data.
## code ##
while ($profile->fetchInto($row)) {
for ($i = 1; $i <= $countCards_result; $i++) {
$num = $
2 matches
Mail list logo