Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?
- $teachers=array("33","34","35","36","37","38","39","40","41","42");
- $days= array("1","2","3","4","5");
- $lessons=array ("1","2","3","4","5","6","7","8");
- $counterDays=5;
- $counterLessons=8;
- $z=0;
- $x=0;
- foreach($teachers as $idteacher)
- {
- while($z<$counterDays)
- {
- echo$idteacher."<br/>";
- echo$days[$z]."<br/><br/>";
- $z++;
- }
- $z=0;
- }
- ?>
Add Comment
Please, Sign In to add comment