Reply to Re: Parsing CSV-file and adding CSS to style

Your name:

Reply:


Posted by Ψrjan Langbakk on 06/24/06 14:15

Den 24.06.2006 15:47, skriblet Rik fΓΈlgende:
> Ørjan Langbakk wrote:
>> I tried doing as you said above, but I ended up with no <thead>, and
>> only one of the <tr>s shows up - the last one (only two in the
>> CSV-file
>> at the moment, but still).
>> And, also, the whole thing is centered.
>>
>> Maybe I didn't do it right?
>
>> Here's the code after replacment:
>
>> while(($row = fgetcsv($csvHandle, filesize($csvFile))) !== false){
>> $this->html = vsprintf($rowhtml, $row);
>> }
>
> Should offcourse be:
> $this->html .= vsprintf($rowhtml, $row);
> ------------^
>
> My apologies.
>
> Grtz,

Thanks! Now it works perfectly :D

I feel I should have seen that, though... I need to pay a little more
attention to what I'm actually reading :)

--
mvh
Ørjan Langbakk

[Back to original message]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° Google AdSense  •  England, UK  •  ΡΡ‚Π°Ρ‚ΡŒΠΈ Π½Π° английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация