ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-db
php-db
RE: [PHP-DB] SELECT Part of a Field
by Jacob A. van Zanen other posts by this author
Aug 29 2003 10:23AM messages near this date
Re: [PHP-DB] Problem in executing linux command from PHP | RE: [PHP-DB] Failure Notices When Posting to List - CLOSED
Depending on the database you are using
Substring()
Substr()
Functions do what you want


jack



-----Original Message-----
From: Shaun [mailto:shaun@[...].com] 
Sent: Friday, August 29, 2003 11:58 AM
To: php-db@[...].net
Subject: [PHP-DB] SELECT Part of a Field


Hi,

How can I SELECT a portion of a field in a table for example the first
character, or the second two characters etc?

Thanks for your help

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

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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved