hi
whats wrong with this code
Code:<?php $name[0]="AZEEM"; $name[1]="SIRAJ"; $name[2]="MUNZIF"; for($i=0;$i<(count($name));$i+=1){ print $name[i]."<br>"; } ?>
| SitePoint Sponsor |
hi
whats wrong with this code
Code:<?php $name[0]="AZEEM"; $name[1]="SIRAJ"; $name[2]="MUNZIF"; for($i=0;$i<(count($name));$i+=1){ print $name[i]."<br>"; } ?>





print $name[i]."<br>";
Should be:
print $name[$i]."<br>";
thanks Mark. its working..
buy![]()
Bookmarks