Re: [PHP-DB] PHPMySQL left/substring etc problem

2005-04-19 Thread Andrés G . Montañez
But when I tried, select left (loc1,3) from openart_table where.. Try without the space between 'left' and '(', I mean... LEFT(loc1, 3) where loc1 is the name of the column, and 3 the characters you want to show. -- Atte, Andrés G. Montañez Técnico en Redes y Telecomunicaciones Montevideo

RE: [PHP-DB] PHPMySQL left/substring etc problem

2005-04-19 Thread Juffermans, Jos
inal Message- (BFrom: Sugimoto [mailto:[EMAIL PROTECTED] (BSent: 19 April 2005 07:58 (BTo: php-db@lists.php.net (BSubject: [PHP-DB] PHPMySQL left/substring etc problem (B (B (BHello, (BI need your help about PHP (ver 4.3.1) and MySQL (ver 3.23) database. (BI am struggling to customise a

[PHP-DB] PHPMySQL left/substring etc problem

2005-04-18 Thread Sugimoto
Hello, (BI need your help about PHP (ver 4.3.1) and MySQL (ver 3.23) database. (BI am struggling to customise a database (using left command etc), and am (Bstuck now. (BPlease have a brief look at my scripts below. (B (BWhat I do like to do is to get first 3 letters from "loc1" column from