At 09:59 13.03.2003, Adriaan Nel said:
--------------------[snip]--------------------
>I need to update records in a mysql dbase, from a .csv file, everything
>works fine, but the index column, $npr_nr from below sometimes has a space
>at the end, this causes the dbase index not to match this one, therefore
>this record isn't updated.  Do any1 know how I can check for spaces here,
>and remove them if present????
--------------------[snip]-------------------- 

have a look at trim()


-- 
   >O     Ernest E. Vogelsinger
   (\)    ICQ #13394035
    ^     http://www.vogelsinger.at/



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

Reply via email to