Hello all,
I'm a PHP newbie and have my apache Server and PHP in place. I have been able to run simple programs that work well. However, since then when I do "http ://localhost/filename.php" I either get 2 messages.
1. An error message if there's an error in my code
2. A blank page if I don't get an error message.
For example, the code below gives a blank screen. Pls help me with this.
<?php
$pictures = array('PixsIMG_0037.jpg','PixsIMG_0038.jpg','PixsIMG_0039.jpg
','PixsIMG_0040.jpg');
shuffle($pictures);
?>
<html>
<head>
<title>Doe Cafe</title>
</head>
<body>
<center>
<h1>Doe Cafe</h1>
<table width = '100%' >
<tr>
<?php
for( $i = 0; $i < 3; $i++)
{
echo '<td align="center"><img src =" ';
// echo $pictures[$i];
echo $i;
echo ' "width ="100" height ="100"></td>;
}
<?
</tr>
</table>
</center>
</body>
</html>