2006/11/7 14:00
slyss
Quite a regular
Posts: 343
Since: 2006/1/26
$sql = "SELECT s.*, t.* FROM prefix_".$directory."_photos s, prefix_".$directory."_text t WHERE s.lid=t.lid AND (t.description LIKE '%Stefano%') AND [color=FF0000]((LEN(t.description)) > 900)[/color] ORDER BY rand() LIMIT 1";
2006/11/7 14:11
christian
Just can't stay away
Posts: 401
Since: 2002/2/24
2006/11/7 18:02
2006/11/7 18:09
Bender
Home away from home
Posts: 1899
Since: 2003/3/10
2006/11/7 21:30
Bender wrote:Just guessing:Use Length instead of Len ?
AND (LENGTH(t.description) > 100)
Advanced Search
290 user(s) are online (248 user(s) are browsing Support Forums)
Members: 0
Guests: 290