Thanks Hugh.....

This script seems to work much better but there are still random errors.
The script I posted had errors just about everytime while this one has
errors less frequently.  I am going to change versions of PHP and see if
that makes any difference....But I think for now I am sticking with ASP if
developing on Windows.

Thanks again.


Tim


"Hugh Bothwell" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Try this:
>
> <html>
>   <head>
>     <title>PHP Test</title>
>     <style type='text/css'>
>     <!--
>       th {
>         font-family: Verdana, Arial, sans-serif;
>         font-size: 12px;
>         font-weight: 700;
>         background-color: #ffcc00;
>         text-align: center;
>       }
>       td {
>         font-family: Verdana, Arial, sans-serif;
>         font-size: 10px;
>         background-color: #ffffff;
>       }
>       .ctr {
>         text-align: center;
>       }
>     -->
>     </style>
>   </head>
> <body>
>     <table border='2' cellspacing='0' cellpadding='3'
bordercolor='#C0C0C0'
>         width='97%' id='AutoNumber2' style='border-collapse: collapse'
>         bgcolor='#FFFFFF'>
>       <tr>
>         <th width='4%'>&nbsp;</th>
>         <th width='28%'>Name</th>
>         <th width='13%'>Phone</th>
>         <th width='29%'>E-mail</th>
>         <th width='22%'>Department</th>
>         <th width='4%'>&nbsp;</th>
>       </tr>
> <?php
>     $row['name'] = "Fred Flintstone";
>     $row['phone'] = "233-7625";
>     $row['email'] = '[EMAIL PROTECTED]';
>     $row['dept'] = 'Aggragate Extraction';
>
>     for ($i = 0; $i < 650; $i++)
>         echo
>             "<tr>"
>                 ."<td class='ctr'>$i</td>"
>                 ."<td>{$row['name']}</td>"
>                 ."<td>{$row['phone']}</td>"
>                 ."<td><a
> href='mailto:{$row['email']}'>{$row['email']}</a></td>"
>                 ."<td>{$row['dept']}</td>"
>                 ."<td>&nbsp;</td>"
>             ."</tr>";
> ?>
>     </table>
> </body>
> </html>
>
>



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to