Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
strlen in sql statment
Old 07-07-2008, 04:10 PM strlen in sql statment
Skilled Talker

Posts: 69
Trades: 0
I cannot get the following code to work. Am I missing something?

SELECT * FROM `database` WHERE (strlen(field)>250);

Thanks,
Matt
__________________
Matt
webmaster of
Please login or register to view this content. Registration is FREE
- Online wedding planning
weddingm is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-07-2008, 08:25 PM Re: strlen in sql statment
mgraphic's Avatar
Truth Seeker

Latest Blog Post:
JAMISONTUNES
Posts: 2,918
Name: Keith Marshall
Location: Connecticut
Trades: 0
MySQL uses a different function method other than php.

SELECT * FROM table WHERE CHAR_LENGTH(field) > 250
__________________

<mgraphic /> - I don't have a solution but I admire the problem.
mgraphic is offline
Reply With Quote
View Public Profile
 
Old 07-09-2008, 06:00 PM Re: strlen in sql statment
Skilled Talker

Posts: 69
Trades: 0
thanks.....i love this place!
__________________
Matt
webmaster of
Please login or register to view this content. Registration is FREE
- Online wedding planning
weddingm is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to strlen in sql statment
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.46541 seconds with 12 queries