[PHP-DB] substr() problems

2004-02-06 Thread James Meers
Hi all, I am trying to use substr() negative start, but I get nothing returned - if i do a positive start then i do get something back, below is my code and a line of what i get returned: $DB_ref = 210020007; $DB_temp_ref = $DB_ref; $DB_sub_ref = substr($DB_temp_ref , 0, 1); $DB_sub_ref .=

RE: [PHP-DB] substr() problems

2004-02-06 Thread James Meers
21:32 To: [EMAIL PROTECTED] Cc: Subject: [PHP-DB] substr() problems Hi all, I am trying to use substr() negative start, but I get nothing returned - if i do a positive start then i do get something back, below is my code