| Welcome to WebmasterWorld Guest from 188.8.131.52 |
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
|Accredited PayPal World Seller|
|little help with sql statement|
trying to add strlen to statement
| 2:28 pm on Aug 5, 2012 (gmt 0)|
Is it possible to add ad strlen statement into a sql statement?
$sqlstatment="SELECT * FROM table WHERE strlen(xyzvalue)>2 AND value LIKE '%verified%'";
| 2:38 pm on Aug 5, 2012 (gmt 0)|
try using CHAR_LENGTH(xyzvalue)>2
| 4:12 pm on Aug 5, 2012 (gmt 0)|
Thanks, that was a bone head mistake.
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
© Webmaster World 1996-2013 all rights reserved