<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1024811" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1024811</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/building-message-box-database-query-output#comment-1151543</link>
    <description> &lt;p&gt;OK no problem &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Sun, 16 May 2004 21:15:28 +0000</pubDate>
 <dc:creator>openmind</dc:creator>
 <guid isPermaLink="false">comment 1151543 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/building-message-box-database-query-output#comment-1151542</link>
    <description> &lt;p&gt;Thank you very much.  This works!!  Now I can go on to the next step, which is using a data entry form online to add more movies.  I am having some difficulties with this one as well.  I will play with it some more and if I need help I will definitely come back here for some pointers.  Again thank you!!&lt;/p&gt;
&lt;p&gt;Cori&lt;/p&gt;
 </description>
     <pubDate>Sun, 16 May 2004 20:44:51 +0000</pubDate>
 <dc:creator>cgacfox</dc:creator>
 <guid isPermaLink="false">comment 1151542 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/building-message-box-database-query-output#comment-1151519</link>
    <description> &lt;p&gt;Thats pretty stright forward to do.  Just change your code as follows:&lt;/p&gt;
&lt;p&gt;First you need to do a quick count of how many results were obtained.&lt;/p&gt;
&lt;p&gt;If none do the pop up.  If more than 0 then show them...&lt;/p&gt;
&lt;p&gt;&amp;lt;script language=&quot;javascript&quot;&amp;gt;&lt;br /&gt;
  alert(&quot;Your search has resulted in no matches.  Please try again&quot;);&lt;br /&gt;
  history.go(-1);&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;dvdDetail.cfm?movietitle=#DisplayActor.movietitle#&quot;&gt;&lt;br /&gt;
#movieTitle#&lt;br /&gt;
&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;#genre#&lt;/p&gt;
&lt;p&gt;#parentalRating#&lt;/p&gt;
&lt;p&gt;#mainActors#&lt;/p&gt;
&lt;p&gt;To be honest you are better off not using the popup because it would look smoother just to write the text &quot;no matches&quot; or whatever rather than stick it in a pop-up...&lt;/p&gt;
 </description>
     <pubDate>Sun, 16 May 2004 08:51:53 +0000</pubDate>
 <dc:creator>openmind</dc:creator>
 <guid isPermaLink="false">comment 1151519 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Re: Building a message box for database query output</title>
    <link>https://www.webmaster-forums.net/web-database-development/building-message-box-database-query-output#comment-1151502</link>
    <description> &lt;p&gt;Here is the code that is on the main page for looking up info.&lt;/p&gt;
&lt;p&gt;Enter name of the Actor that you are interested in seeing.&lt;/p&gt;
&lt;p&gt;Does your example code go on the mainactors.cfm page?&lt;/p&gt;
&lt;p&gt;Here is the code for the mainactors.cfm page for the output information as it currently is.&lt;/p&gt;
&lt;p&gt;Select *&lt;br /&gt;
From DVDS&lt;br /&gt;
WHERE mainactors LIKE &#039;%#FORM.mainactors#%&#039;&lt;br /&gt;
Order by MovieTitle&lt;/p&gt;
&lt;p&gt;Here is the code that will display the results of the query on the mainactors.cfm page.&lt;/p&gt;
&lt;p&gt;      		&lt;a href=&quot;dvdDetail.cfm?movietitle=#DisplayActor.movietitle#&quot;&gt;&lt;br /&gt;
          		#movieTitle#&lt;br /&gt;
          	&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;          #genre#&lt;/p&gt;
&lt;p&gt;          #parentalRating#&lt;/p&gt;
&lt;p&gt;          #mainActors#&lt;/p&gt;
&lt;p&gt;I want a pop up message box to show that the query does not result in any matches either because it is not present or it is misspelled.  Am I making sense?  Thanks.&lt;/p&gt;
&lt;p&gt;Cori&lt;/p&gt;
 </description>
     <pubDate>Sat, 15 May 2004 22:53:44 +0000</pubDate>
 <dc:creator>cgacfox</dc:creator>
 <guid isPermaLink="false">comment 1151502 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/building-message-box-database-query-output#comment-1151500</link>
    <description> &lt;p&gt;Use an sql query to try and match the words so&lt;/p&gt;
&lt;p&gt;  SELECT *&lt;br /&gt;
  FROM table&lt;br /&gt;
  WHERE actor LIKE &#039;%#searchPhrase#%&#039;&lt;/p&gt;
&lt;p&gt;and then just output the results:&lt;/p&gt;
&lt;p&gt;  #actor#&lt;/p&gt;
 </description>
     <pubDate>Sat, 15 May 2004 22:38:38 +0000</pubDate>
 <dc:creator>openmind</dc:creator>
 <guid isPermaLink="false">comment 1151500 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
