Can I return only PART of a field?

Codes here !

Moderators: macek, egami, gesf

User avatar
Joan Garnet
Moderator
Moderator
Posts: 387
Joined: Sat Aug 03, 2002 2:56 am
Location: Mars
Contact:

Postby Joan Garnet » Sun Apr 27, 2003 2:53 am

Well,
you will find this URL very helpful:
http://www.mysql.com/doc/en/String_functions.html

You can find the substring_index() function, which allows you to do exactly what you want.

Bye!

Return to “mySQL & php coding”

Who is online

Users browsing this forum: No registered users and 2 guests

cron