<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/13942" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2007-08-26T01:18:31-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/13942</id>

		<entry>
		<author><name><![CDATA[YooHoo]]></name></author>
		<updated>2007-08-26T01:18:31-04:00</updated>

		<published>2007-08-26T01:18:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75505#p75505</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75505#p75505"/>
		<title type="html"><![CDATA[mysql and tcl help please :D]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75505#p75505"><![CDATA[
try this link to <a href="http://johoho.eggheads.org/eggdrop/other/guide2tcl.html#Variables" class="postlink">Johoho's Beginners Guide To Tcl</a>.  It has extremely useful information on the basics of tcl.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2706">YooHoo</a> — Sun Aug 26, 2007 1:18 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[whittinghamj]]></name></author>
		<updated>2007-08-25T23:17:00-04:00</updated>

		<published>2007-08-25T23:17:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75504#p75504</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75504#p75504"/>
		<title type="html"><![CDATA[mysql and tcl help please :D]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75504#p75504"><![CDATA[
hi guys ok i am writing a mysql search / storage system and need a wee bit of help on this one.<br><br>I am going to be searching on EXACT LIKE% and LIKE% in that order. I have the following sql lines that i know work fine <br><div class="codebox"><p>Code: </p><pre><code>set countrls [mysqlsel $mysql "SELECT COUNT(*) FROM pre WHERE rls = '$text2'" -list]set countrls [mysqlsel $mysql "SELECT COUNT(*) FROM pre WHERE rls LIKE '$text2%'" -list]set countrls [mysqlsel $mysql "SELECT COUNT(*) FROM pre WHERE rls LIKE '%$text2%'" -list]</code></pre></div>what i am not sure how to do is run the first one - if nothing found then try the second one, if nothing still move onto the forth one, if still nothing then report nothing found.<br><br>i know its to do with "if" and elseif but just not sure of the code - anyone able to help me please.<br><br>cheers<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7783">whittinghamj</a> — Sat Aug 25, 2007 11:17 pm</p><hr />
]]></content>
	</entry>
	</feed>
