[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



$string = "johndoe";
$newstring = justgivemetheleft3($string);

$query = "SELECT * from table where name like "$newstring%"

I can't say give me everything that matches johndoe, because some of 
them are john doe, some are john_doe, some are john, etc.  But, the 
first 3 will always be right.


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00568" href="msg00568.html">[ale] [OT] PHP Question</a></strong>
<ul><li><em>From:</em> jtaylor at onlinea.com (J.M. Taylor)</li></ul></li>
<li><strong><a name="00569" href="msg00569.html">[ale] [OT] PHP Question</a></strong>
<ul><li><em>From:</em> jchum at aismedia.com (Jonathan Chum)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00566.html">[ale] Mail/Calendering alternatives</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00568.html">[ale] [OT] PHP Question</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00564.html">[ale] Dual display &amp; gdm</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00568.html">[ale] [OT] PHP Question</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00567"><strong>Date</strong></a></li>
<li><a href="threads.html#00567"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>