On Mié 23 May 2001 17:56, you wrote:
> Hey try this, though there are probably better ways,
>
> "SELECT * FROM foo WHERE name REGEXP '^[PHP]'";

This is not SQL compatible. This would be a correct SQL statement:

SELECT * FROM foo WHERE name LIKE "[PHP]%"

Saludos... :-)

-- 
Cualquiera administra un NT.
Ese es el problema, que cualquiera administre.
-----------------------------------------------------------------
Martin Marques                  |        [EMAIL PROTECTED]
Programador, Administrador      |       Centro de Telematica
                       Universidad Nacional
                            del Litoral
-----------------------------------------------------------------

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to