Topic: How to open a blank target window with my code

I would really appreciate it if someone could tell me how and what code to add to this code below to make it open in another window while the sermon is playing using a wmp?   As always thanks in advance!  I hope to get smart enough one day to give some of this help back that you all have so graciously given to me!:

      <tr>
        <th>PLAY</th>
        <th>Video
       </th>
    </tr>
</thead>
<tbody>
<?
$dir = @ dir('./sermons/highspeed');
while ($entry = $dir -> read()) {
    if ($entry != '.' && $entry != '..' && strtolower(substr($entry, -3)) == 'wmv') {
?>
    <tr>
        <td><a href="sermons/highspeed/<? echo $entry; ?>">PLAY</a></td>
        <td><? echo substr($entry, 0, (strlen($entry) - 4)); ?></td>
    </tr>
<?
        } // each wmv file
    } // each directory entry
$dir -> close();
?>
</tbody>



Have a great week!
_____________________________________________________________________________________________________
                                               As for me and my house;  we will serve the *LORD*!

Last edited by Dwayne Whitley (2010-01-25 09:29:06)

Re: How to open a blank target window with my code

Thanks for looking!  I figured it out!  Here it is:

    <tr>
        <td><a href="sermons/highspeed/<? echo $entry; ?>" target"_blank">PLAY</a></td>
        <td><? echo substr($entry, 0, (strlen($entry) - 4)); ?></td>
    </tr>

_____________________________________________________________________________________________________
                                                   As for me and my house;  we will serve the *LORD*!