<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1018523" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1018523</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/server-side-scripting/databse-search-help#comment-1108915</link>
    <description> &lt;p&gt;Your parenthesis are not paired either.&lt;/p&gt;
&lt;p&gt;Because the error is on the first print statement, I know that the error was caused by the quotes.&lt;/p&gt;
&lt;p&gt;try this:&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;mysql_connect &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;localhost&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;remeed&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;typethis&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;mysql_select_db &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;remediation&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;&lt;br /&gt;if (&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$street &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;== \&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;\&quot;)&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$street &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;%&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&lt;br /&gt;&lt;br /&gt;if (&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$lastname&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt; == \&quot;\&quot;)&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$lastname &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;%&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;}&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$query&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt; = \&quot;SELECT property0202.apn, property0202.streetnum, property0202.street, property0202.lastname\&quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .\&quot; FROM property0202, exclude2002\&quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .\&quot; WHERE (\&quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .\&quot; (property0202.apn = exclude2002.apn)\&quot;;&lt;br /&gt;if (&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$apn&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt; != \&quot;\&quot;) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$query&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt; .= \&quot; OR property0202.apn LIKE &#039;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$apn&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;%&#039;)\&quot;;&lt;br /&gt;}&lt;br /&gt;if (&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$streetnum&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt; != \&quot;\&quot;) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$query&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt; .= \&quot; OR property0202.streetnum LIKE &#039;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$streetnum&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;%&#039;)\&quot;;&lt;br /&gt;}&lt;br /&gt;if (&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$street&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt; != \&quot;\&quot;) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$query&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt; .= \&quot; OR property0202.street LIKE &#039;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$street&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;%&#039;)\&quot;;&lt;br /&gt;}&lt;br /&gt;if (&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$lastname&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt; != \&quot;\&quot;) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$query&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt; .= \&quot; OR property0202.lastname LIKE &#039;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$lastname&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;%&#039;)\&quot;;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$result&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt; = mysql_query(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$query&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;);&lt;br /&gt;&lt;br /&gt;if (!&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$result&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;) {&lt;br /&gt;&amp;nbsp; print \&quot;Sorry, no records were found!\&quot;;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;while (&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$row&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;=@mysql_fetch_array(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$result&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;)) {&lt;br /&gt;&amp;nbsp; print &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$row&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;\&quot;apn\&quot;];&lt;br /&gt;&amp;nbsp; print (\&quot; \&quot;);&lt;br /&gt;&amp;nbsp; print &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$row&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;\&quot;streetnum\&quot;];&lt;br /&gt;&amp;nbsp; print (\&quot; \&quot;);&lt;br /&gt;&amp;nbsp; print &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$row&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;\&quot;street\&quot;];&lt;br /&gt;&amp;nbsp; print (\&quot; \&quot;);&lt;br /&gt;&amp;nbsp; print &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$row&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;\&quot;lastname\&quot;];&lt;br /&gt;&amp;nbsp; print (\&quot;&amp;lt;p&amp;gt;\&quot;);&lt;br /&gt;}&lt;br /&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;Making mySQL search a field for a wildcard increases the load, just omit that field.&lt;/p&gt;
 </description>
     <pubDate>Tue, 14 May 2002 20:22:19 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1108915 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/server-side-scripting/databse-search-help#comment-1108886</link>
    <description> &lt;p&gt;in the original code i had the &quot; &quot; in the right place (must have pasted wrong). &lt;/p&gt;
&lt;p&gt;i&#039;m still getting the error on line 34, which is the 1st line of my print statement. i can&#039;t understand why this is happening. &lt;/p&gt;
&lt;p&gt;thanks for your time.&lt;/p&gt;
 </description>
     <pubDate>Tue, 14 May 2002 05:39:38 +0000</pubDate>
 <dc:creator>getyourbiglobst</dc:creator>
 <guid isPermaLink="false">comment 1108886 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/server-side-scripting/databse-search-help#comment-1108882</link>
    <description> &lt;p&gt;Forgot to close the quotes around your SQL statement.&lt;/p&gt;
 </description>
     <pubDate>Tue, 14 May 2002 02:46:11 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1108882 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
