Notice: Use of undefined constant x - assumed ‘x’ in games1.php on line 32
Notice: Use of undefined constant y - assumed ‘y’ in games1.php on line 32
Notice: Use of undefined constant x - assumed ‘x’ in games1.php on line 32
Notice: Use of undefined constant y - assumed ‘y’ in games1.php on line 32
Notice: Use of undefined constant y - assumed ‘y’ in games1.php on line 32
Notice: Use of undefined constant y - assumed ‘y’ in games1.php on line 32
Notice: Use of undefined constant y - assumed ‘y’ in games1.php on line 32
Notice: Use of undefined constant y - assumed ‘y’ in games1.php on line 32
Notice: Use of undefined constant y - assumed ‘y’ in games1.php on line 32
Notice: Use of undefined constant y - assumed ‘y’ in games1.php on line 32
Notice: Use of undefined constant y - assumed ‘y’ in games1.php on line 32
Notice: Use of undefined constant y - assumed ‘y’ in games1.php on line 32
Notice: Use of undefined constant y - assumed ‘y’ in games1.php on line 32
Notice: Use of undefined constant y - assumed ‘y’ in games1.php on line 32
Notice: Use of undefined constant x - assumed ‘x’ in C:\xampp\htdocs\kappachat\games1.php on line 32
Notice: Use of undefined constant y - assumed ‘y’ in games1.php on line 32
Notice: Use of undefined constant y - assumed ‘y’ in games1.php on line 32
Notice: Use of undefined constant y - assumed ‘y’ in games1.php on line 32
Notice: Use of undefined constant y - assumed ‘y’ in games1.php on line 32
Notice: Use of undefined constant y - assumed ‘y’ in games1.php on line 32
Notice: Use of undefined constant y - assumed ‘y’ in games1.php on line 32
games/beventlaed.jpg
games/beventlaed.html games/beventlaed.jpg
games/beventlaed.html games/beventlaed.jpg
games/beventlaed.html games/beventlaed.jpg
games/beventlaed.html games/beventlaed.jpg
games/beventlaed.html
The jpg and html are aligned on top and bottom of eachother like I want, a 5 x 1 setup so far… but it’s doing the same image and game 5 times over. Also they are just the file names. I know how to make it echo an image and all but not with what you added.
Sorry, I do understand things like chat applications and accounts a bit but stuff like this has me puzzled. LOL. THANK YOU, again.
[php]
<?php
$dirname = “games/”;
$images = glob($dirname.".jpg");
$pages = glob($dirname.".html");
foreach($images as $image) {
//echo ‘![]()
’;
}
foreach ($pages as $page)
{
echo “”.basename($page)."
";
}
?>
<?php
echo "
";
for ($x=0; $x<=4; $x++) {
echo "";
for ($x=0; $x<=4; $x++) {
echo "" . $images[x+y*5] . " " . $pages[x+y*5] . " | ";
}
echo "
";
}
echo "
";
?>
[/php]