Re: csv problem.. read csv from var

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



nope.. u don't give me wrong code
----- Original Message ----- 
From: "Niel Archer" <niel@xxxxxxxxxxxxx>
To: <php-db@xxxxxxxxxxxxx>
Sent: Saturday, February 17, 2007 2:43 AM
Subject: Re:  csv problem.. read csv from var


> Hi
> 
> sorry, I misunderstood your problem, it was not too clear to me as the
> code you list shouldn't produce the output you supplied.
> 
> try this:
> 
> $array = explode(',', $csv);
> 
> print "<br>= " . $array[0] . "\n";
> print "<br>= " . $array[1] . "\n";
> 
> for ($i = 2; $i < count($array); ++$i) {
>  $txt.= "<br />=" . $array[$i] . "\n";
> }
> 
> print $txt;
> 
> 
> Niel
> 
> -- 
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
the code u mention before i tried to my code and it's not right..
thx for your support

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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux