* Thus wrote Dustin Krysak:
> Hi there, I am working with a script that I found online to export a
> SQL statement (results) to an excel file., now everytime i run the
> script, i get the error:
>
> Parse error: parse error, unexpected T_VARIABLE in
> /var/www/html/siteadmin/mysql_export/export.php on line 11
>
> Now the code that is located at (and around) that line is (I have
> included the line numbers for reference):
>
> 10 for ($i = 0; $i < $count; $i++) {
> 11���� $header .= mysql_field_name($result, $i)."\t";
^ ^ ^ ^
These are chr(160)'s there, aka the char.
you have them on all your indentation.
Curt
--
First, let me assure you that this is not one of those shady pyramid schemes
you've been hearing about. No, sir. Our model is the trapezoid!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php