[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-date: Tue Feb 17 15:12:46 2004 -->
- <!--x-from-r13: yvfgf ng ploregrpupnsr.arg (@nguna X. Gaqrejbbq) -->
- <!--x-message-id: [email protected] -->
- <!--x-subject: [ale] [OT] PHP Question -->
- <li><em>date</em>: Tue Feb 17 15:12:46 2004</li>
- <li><em>from</em>: lists at cybertechcafe.net (Nathan J. Underwood)</li>
- <li><em>subject</em>: [ale] [OT] PHP Question</li>
$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 & 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>