<?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/17877" />

	<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>2010-07-26T06:25:25-04:00</updated>

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

		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2010-07-24T16:56:30-04:00</updated>

		<published>2010-07-24T16:56:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93659#p93659</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93659#p93659"/>
		<title type="html"><![CDATA[Recursive File search (possibly via database?) [solved!]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93659#p93659"><![CDATA[
doggo,<br>Based on your script, something like this:<div class="codebox"><p>Code: </p><pre><code>proc fetch_file {n u h c t} {  if {$t == ""} {    putquick "notice $n :!fetch &lt;tracknum&gt;"    return  }  if {[channel get $c mysql-fetch] == 1 } {#Sanitize $t, avoiding any kind of SQL-injections.    set t [mysqlescape $t]#Replace * with %#Using string map should be quicker than regsub     set t [string map {* %} $t]    set db_search [mysqlconnect -host $::db(host) -user $::db(user) -password $::db(pass)]    mysqluse $db_search $::db(name)    set search [mysqlsel $db_search "SELECT $::t(path) FROM $::t(table) WHERE $::t(tracknum) LIKE '%$t%' ORDER BY $::t(tracknum) DESC LIMIT 1" -flatlist]    mysqlclose $db_search#Get the first entity from the result list    set search [lindex $search 0]    if { $search == "" } {      puthelp "PRIVMSG $c :No file to send for tracknumber *$t* $n"      return    } else {      puthelp "PRIVMSG $c :Sending file to $n"      dccsend $search $n    }  }}</code></pre></div>Edit: Typo, <div class="codebox"><p>Code: </p><pre><code>mysqlescape $t</code></pre></div>Should have been <div class="codebox"><p>Code: </p><pre><code>set t [mysqlescape $t]</code></pre></div>Same with string map<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Sat Jul 24, 2010 4:56 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[doggo]]></name></author>
		<updated>2010-07-24T16:04:48-04:00</updated>

		<published>2010-07-24T16:04:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93658#p93658</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93658#p93658"/>
		<title type="html"><![CDATA[Recursive File search (possibly via database?) [solved!]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93658#p93658"><![CDATA[
so how should it look ?<br><br>my knowledge of regex and regsub is limited, and it got rid of the { } in the output of the result in channel <br><br><img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11046">doggo</a> — Sat Jul 24, 2010 4:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2010-07-24T15:59:27-04:00</updated>

		<published>2010-07-24T15:59:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93657#p93657</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93657#p93657"/>
		<title type="html"><![CDATA[Recursive File search (possibly via database?) [solved!]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93657#p93657"><![CDATA[
Any {} would be there because it's a tcl-list..  using regular expressions like that will only break the list structure, and is a very bad practise...<br>Since it's a flatlist, just use lindex, which retrieves one list item...<br><br>That goes for your search-function as well...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Sat Jul 24, 2010 3:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DJCharlie]]></name></author>
		<updated>2010-07-24T15:56:09-04:00</updated>

		<published>2010-07-24T15:56:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93656#p93656</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93656#p93656"/>
		<title type="html"><![CDATA[Recursive File search (possibly via database?) [solved!]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93656#p93656"><![CDATA[
It's working now! Thanks everyone!<br><br>Stop by the station (kjsr.net) next Friday around 7 eastern and I'll play some music for you!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10641">DJCharlie</a> — Sat Jul 24, 2010 3:56 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[doggo]]></name></author>
		<updated>2010-07-24T15:59:25-04:00</updated>

		<published>2010-07-24T15:53:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93655#p93655</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93655#p93655"/>
		<title type="html"><![CDATA[Recursive File search (possibly via database?) [solved!]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93655#p93655"><![CDATA[
<blockquote class="uncited"><div>doggo,<br>Why on earth are you using all those regexp's?<br>Use proper list operations instead, since that's what mysqlsel returns with either -list or -flatlist. As for avoiding SQL-injections, as mentioned before, there's the mysqlescape function - it's faster and safer (uses mysql_real_escape_string from the MySQL C-API which </div></blockquote>they were used in the search script to get rid of { } and to replace any spaces with a %<br><br>i just left them in there when i altered it to send the file from the path stored in the db i know its not the best code but<br><br>it works fine with no errors, yeah it could be better but at least i try to help <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11046">doggo</a> — Sat Jul 24, 2010 3:53 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2010-07-24T15:31:52-04:00</updated>

		<published>2010-07-24T15:31:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93654#p93654</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93654#p93654"/>
		<title type="html"><![CDATA[Recursive File search (possibly via database?) [solved!]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93654#p93654"><![CDATA[
doggo,<br>Why on earth are you using all those regexp's?<br>Use proper list operations instead, since that's what mysqlsel returns with either -list or -flatlist. As for avoiding SQL-injections, as mentioned before, there's the mysqlescape function - it's faster and safer (uses mysql_real_escape_string from the MySQL C-API which honors charsets).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Sat Jul 24, 2010 3:31 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[doggo]]></name></author>
		<updated>2010-07-26T06:25:25-04:00</updated>

		<published>2010-07-24T15:27:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93653#p93653</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93653#p93653"/>
		<title type="html"><![CDATA[Recursive File search (possibly via database?) [solved!]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93653#p93653"><![CDATA[
LOL sorry i totally read wrong i thought you were still tryong to sort out the search....<br><br><br>i just had to change a few things but this works fine <br><div class="codebox"><p>Code: </p><pre><code>#how it looks in the db4444 script test 1 test 1 /home/doggo/test/test_1.mp3</code></pre></div><div class="codebox"><p>Code: </p><pre><code>#how it looks in channel[20:23] &lt;doggo&gt; !help[20:23] &lt;allscene&gt; To fetch a file from the database the correct syntax to use is: !fetch &lt;tracknum&gt;[20:23] &lt;doggo&gt; !fetch 4444[20:23] &lt;allscene&gt; Sending file to doggo[20:23] &lt;doggo&gt; !fetch 5555[20:23] &lt;allscene&gt; No file to send for tracknumber *5555* doggo</code></pre></div><div class="codebox"><p>Code: </p><pre><code>#what the bot says on the party line[20:23] &lt;allscene&gt; [20:24] Begin DCC send test_1.mp3 to doggo[20:23] &lt;allscene&gt; [20:24] Finished dcc send test_1.mp3 to doggo</code></pre></div><div class="codebox"><p>Code: </p><pre><code>#the script modified# Rls: #mysql_fetch.tcl# Date: 24/07/10# Coded by: doggo# Contact: #alt.binaries.inner-sanctum@EFNET############################################package require mysqltcl 3.05#channel flag    .chanset #YOUR_CHAN +mysql-fetchsetudef flag mysql-search#connect to dbset db(host) "***********"set db(user) "***********"set db(pass) "***********"set db(name) "egghelp"#table infoset t(tracknum) "tracknum"set t(artist) "artist"set t(title) "title"set t(path) "path"#from tableset t(table) "egg"#output channelset output_channel "#allscene"###script starts#### the help section bind pub - !help helperproc helper {n u h c t} {  if {[channel get $c mysql-fetch] == 1 } {putserv "PRIVMSG $c :To fetch a file from the database the correct syntax to use is: !fetch &lt;tracknum&gt;" }}#the public trigger -|- = anybody can use the triggerbind pub -|- !fetch fetch_fileproc fetch_file {n u h c t} {if {[channel get $c mysql-fetch] == 1 } {if {$t == ""} {putquick "notice $n :!fetch &lt;tracknum&gt;"return}set db_search [mysqlconnect -host $::db(host) -user $::db(user) -password $::db(pass)]mysqluse $db_search $::db(name)set search [mysqlsel $db_search "SELECT $::t(path) FROM $::t(table) WHERE $::t(tracknum) LIKE '%$t%' ORDER BY $::t(tracknum) DESC LIMIT 1" -flatlist]mysqlclose $db_searchregsub -all {\{} $search "" searchregsub -all {\}} $search "" searchif { $search == "" } {puthelp "PRIVMSG $c :No file to send for tracknumber *$t* $n"return} else {              puthelp "PRIVMSG $c :Sending file to $n"dccsend $search $n  } }}putlog "mysql_fetch.tcl by doggo #alt.binaries.inner-sanctum@efnet LOADED"</code></pre></div>hope this helps <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11046">doggo</a> — Sat Jul 24, 2010 3:27 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2010-07-24T12:59:40-04:00</updated>

		<published>2010-07-24T12:59:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93652#p93652</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93652#p93652"/>
		<title type="html"><![CDATA[Recursive File search (possibly via database?) [solved!]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93652#p93652"><![CDATA[
It would seem you forgot the -list option with ::myqsl::sel...<br><br>Also, I took the liberty of adding some validation to the code, to protect against SQL-injection attacks... (I assume you've added the ::mysql::escape filter to your search-function already).<div class="codebox"><p>Code: </p><pre><code>proc pub_fetch {nick host hand chan text} {  global db  if {![string is int $text]} {    puthelp "NOTICE $nick :$text is not a valid integer, please try again"    return  }  set sqlhand [mysqlconnect -host $db(hostname) -user $db(username) -password $db(password)]  mysqluse $sqlhand $db(database)  set query "SELECT * FROM `music` WHERE `tracknum` = $text"  putlog $query  foreach record [mysqlsel $sqlhand $query -list] {    putlog $record    putserv "NOTICE $nick :Sending you Song #[lindex $record 0] [lindex $record 1] - [lindex $record 2]"  }  mysqlclose $sqlhand}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Sat Jul 24, 2010 12:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DJCharlie]]></name></author>
		<updated>2010-07-24T11:24:24-04:00</updated>

		<published>2010-07-24T11:24:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93651#p93651</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93651#p93651"/>
		<title type="html"><![CDATA[Recursive File search (possibly via database?) [solved!]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93651#p93651"><![CDATA[
That's very nice code!<br><br>But that part of the script is working. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> What we need help with is the !fetch part.<br><div class="codebox"><p>Code: </p><pre><code>proc pub_fetch {nick host hand chan text} {   global db   set sqlhand [mysqlconnect -host $db(hostname) -user $db(username) -password $db(password)]   mysqluse $sqlhand $db(database)   foreach query [mysqlsel $sqlhand "SELECT * FROM music WHERE tracknum = '$text'"] {      putlog "$query"      putserv "NOTICE $nick :Sending you Song #[lindex $query 0] [lindex $query 1] - [lindex $query 2]"   }   mysqlclose $sqlhand}</code></pre></div>For some reason, every time it runs. $query returns a value of 1 instead of the track number.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10641">DJCharlie</a> — Sat Jul 24, 2010 11:24 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[doggo]]></name></author>
		<updated>2010-07-24T09:58:10-04:00</updated>

		<published>2010-07-24T09:58:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93650#p93650</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93650#p93650"/>
		<title type="html"><![CDATA[Recursive File search (possibly via database?) [solved!]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93650#p93650"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code># Rls: #mysql_search.tcl# Date: 24/07/10# Coded by: doggo# Contact: #alt.binaries.inner-sanctum@EFNET############################################package require mysqltcl 3.05#channel flag    .chanset #YOUR_CHAN +mysql-searchsetudef flag mysql-search#connect to dbset db(host) "******"set db(user) "******"set db(pass) "******"set db(name) "******"#table infoset t(tracknum) "tracknum"set t(artist) "artist"set t(title) "title"set t(path) "path"#from tableset t(table) "egg"#output channelset output_channel "#allscene"###script starts#### the help section bind pub - !help helperproc helper {n u h c t} {  if {[channel get $c mysql-search] == 1 } {putserv "PRIVMSG $c :To search the database the correct syntax is: !search &lt;title&gt;" }}#the public trigger -|- = anybody can use the triggerbind pub -|- !search allscenesearchproc allscenesearch {n u h c t} {if {[channel get $c mysql-search] == 1 } {regsub -all {\`|\"|'|\$|\'} $t {} tregsub -all { |\*} $t {%} tif {$t == ""} {putquick "notice $n :-s &lt;title&gt;"return}set db_search [mysqlconnect -host $::db(host) -user $::db(user) -password $::db(pass)]mysqluse $db_search $::db(name)set search [mysqlsel $db_search "SELECT $::t(tracknum),$::t(artist),$::t(title),$::t(path) FROM $::t(table) WHERE $::t(title) LIKE '%$t%' ORDER BY $::t(tracknum) DESC LIMIT 1" -flatlist]mysqlclose $db_searchregsub -all {\{} $search "" searchregsub -all {\}} $search "" searchif { $search == "" } {puthelp "PRIVMSG $c :No results matching *$search_id*"return} else {puthelp "PRIVMSG $c :\(SEARCH RESULTS\) $search"  } }}putlog "mysql_search.tcl by doggo #alt.binaries.inner-sanctum@efnet LOADED"</code></pre></div><div class="codebox"><p>Code: </p><pre><code>#the table infoCREATE TABLE egg (  tracknum int(15) NOT NULL,  artist varchar(200) NOT NULL,  title varchar(200) NOT NULL,  path varchar(400) NOT NULL) ENGINE=MyISAM DEFAULT CHARSET=latin1;INSERT INTO egg (tracknum, artist, title, path) VALUES(4444, 'script test 1', 'test 1', '/home/doggo/test 1.mp3'),(1111, 'script test 2', 'test 2', '/home/doggo/test 2.mp3'),(3333, 'script test 3', 'test 3', '/home/doggo/test 3.mp3');</code></pre></div><div class="codebox"><p>Code: </p><pre><code>#working in the channel[14:55] &lt;doggo&gt; !help[14:55] &lt;allscene&gt; To search the database the correct syntax is: !search &lt;title&gt;[14:55] &lt;doggo&gt; !search test 1[14:55] &lt;allscene&gt; (SEARCH RESULTS) 4444 script test 1 test 1 /home/doggo/test 1.mp3[14:55] &lt;doggo&gt; !search test 2[14:55] &lt;allscene&gt; (SEARCH RESULTS) 1111 script test 2 test 2 /home/doggo/test 2.mp3[14:55] &lt;doggo&gt; !search test 3[14:55] &lt;allscene&gt; (SEARCH RESULTS) 3333 script test 3 test 3 /home/doggo/test 3.mp3[14:55] &lt;doggo&gt; and when there are no results to display[14:56] &lt;doggo&gt; !search test 4[14:56] &lt;allscene&gt; No results matching *test%4*</code></pre></div>hope this helps you out or at least helps you to figure it out, to write your own <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11046">doggo</a> — Sat Jul 24, 2010 9:58 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DJCharlie]]></name></author>
		<updated>2010-07-23T10:07:33-04:00</updated>

		<published>2010-07-23T10:07:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93642#p93642</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93642#p93642"/>
		<title type="html"><![CDATA[Recursive File search (possibly via database?) [solved!]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93642#p93642"><![CDATA[
4 fields: tracknum (int11), artist (text), title (text), and path (text).<br><br>The output of $query is 1. Every time, no matter what I input, it's 1.<br><br>I've gotten a temporary fix by going back to exec'ing a bash script that does the lookup instead of the tcl, but I'd like to do away with that.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10641">DJCharlie</a> — Fri Jul 23, 2010 10:07 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2010-07-23T09:25:19-04:00</updated>

		<published>2010-07-23T09:25:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93641#p93641</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93641#p93641"/>
		<title type="html"><![CDATA[Recursive File search (possibly via database?) [solved!]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93641#p93641"><![CDATA[
What's the setup of the database and what's the output of $query?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Fri Jul 23, 2010 9:25 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DJCharlie]]></name></author>
		<updated>2010-07-22T20:48:30-04:00</updated>

		<published>2010-07-22T20:48:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93638#p93638</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93638#p93638"/>
		<title type="html"><![CDATA[Recursive File search (possibly via database?) [solved!]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93638#p93638"><![CDATA[
Ok, trying a different tack...<br><div class="codebox"><p>Code: </p><pre><code>proc pub_fetch {nick host hand chan text} {   global db   set sqlhand [mysqlconnect -host $db(hostname) -user $db(username) -password $db(password)]   mysqluse $sqlhand $db(database)   set query [mysqlsel $sqlhand "SELECT `path` FROM `music` WHERE `tracknum` = '$text'"]   mysqlclose $sqlhand   putlog "[lindex $query 1]"}</code></pre></div>The SQL is sound, but still gets translated to nothing. Any ideas?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10641">DJCharlie</a> — Thu Jul 22, 2010 8:48 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DJCharlie]]></name></author>
		<updated>2010-07-22T17:26:47-04:00</updated>

		<published>2010-07-22T17:26:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93637#p93637</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93637#p93637"/>
		<title type="html"><![CDATA[Recursive File search (possibly via database?) [solved!]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93637#p93637"><![CDATA[
Here's exactly what I have:<br><div class="codebox"><p>Code: </p><pre><code>foreach query [mysqlsel $sqlhand "SELECT * FROM `music` WHERE `tracknum` = [::mysql::escape $text]"] {</code></pre></div>And what I get is:<br><div class="codebox"><p>Code: </p><pre><code>-FredGibson- Sending you Song #1:  -</code></pre></div>That query is valid in MySQL, but not here...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10641">DJCharlie</a> — Thu Jul 22, 2010 5:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2010-07-22T17:05:21-04:00</updated>

		<published>2010-07-22T17:05:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93636#p93636</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93636#p93636"/>
		<title type="html"><![CDATA[Recursive File search (possibly via database?) [solved!]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93636#p93636"><![CDATA[
Are you using backticks (`) or "normal" ticks (') around music and tracknum?<br>Names (tablename, columnname, etc) should only use backticks (`), while strings should use normal ticks ('), and numbers no delimiters.<br><br>For simple names, the backticks may be left out, as long as it is obvious we are referring to a name, and not a string.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Thu Jul 22, 2010 5:05 pm</p><hr />
]]></content>
	</entry>
	</feed>
