<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments for RichNetApps</title> <atom:link href="http://www.richnetapps.com/comments/feed/" rel="self" type="application/rss+xml" /><link>http://www.richnetapps.com</link> <description>Internet Applications - Flash, Flex, Silverlight, JavaFX</description> <lastBuildDate>Sat, 06 Mar 2010 17:44:11 +0000</lastBuildDate> <generator>http://wordpress.org/?v=2.9.2</generator> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>Comment on VirtueMart quick tip: show brand/manufacturer logo in product details by Armand Niculescu</title><link>http://www.richnetapps.com/virtuemart-show-manufacturer-logo-in-product-details/comment-page-1/#comment-656</link> <dc:creator>Armand Niculescu</dc:creator> <pubDate>Sat, 06 Mar 2010 17:44:11 +0000</pubDate> <guid
isPermaLink="false">http://www.richnetapps.com/?p=460#comment-656</guid> <description>&lt;p&gt;1.5.10 is Joomla version number, Virtuemart component is still at 1.1.4 and I tested with the Mynxx theme.&lt;/p&gt;
&lt;p&gt;Please make sure you are editing the right file (&lt;span style=&quot;font-family: Consolas, &#039;Lucida Console&#039;, Monaco, monospace; line-height: 20px; font-size: 12px; color: #333333;&quot;&gt;/administrator/components/com_virtuemart/html/shop.product_details.php&lt;span style=&quot;color: #000000; font-family: Georgia, &#039;Times New Roman&#039;, &#039;Bitstream Charter&#039;, Times, serif; line-height: 19px; font-size: 13px;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: Consolas, &#039;Lucida Console&#039;, Monaco, monospace; line-height: 20px; font-size: 12px; color: #333333;&quot;&gt;&lt;span style=&quot;color: #000000; font-family: Georgia, &#039;Times New Roman&#039;, &#039;Bitstream Charter&#039;, Times, serif; line-height: 19px; font-size: 13px;&quot;&gt;If you still can&#039;t find the code, contact me privately.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description> <content:encoded><![CDATA[<p>1.5.10 is Joomla version number, Virtuemart component is still at 1.1.4 and I tested with the Mynxx theme.</p><p>Please make sure you are editing the right file (<span
style="font-family: Consolas, 'Lucida Console', Monaco, monospace; line-height: 20px; font-size: 12px; color: #333333;">/administrator/components/com_virtuemart/html/shop.product_details.php<span
style="color: #000000; font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; line-height: 19px; font-size: 13px;">)</span></span></p><p><span
style="font-family: Consolas, 'Lucida Console', Monaco, monospace; line-height: 20px; font-size: 12px; color: #333333;"><span
style="color: #000000; font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; line-height: 19px; font-size: 13px;">If you still can&#8217;t find the code, contact me privately.</span></span></p> ]]></content:encoded> </item> <item><title>Comment on VirtueMart quick tip: show brand/manufacturer logo in product details by Keith</title><link>http://www.richnetapps.com/virtuemart-show-manufacturer-logo-in-product-details/comment-page-1/#comment-655</link> <dc:creator>Keith</dc:creator> <pubDate>Sat, 06 Mar 2010 15:30:52 +0000</pubDate> <guid
isPermaLink="false">http://www.richnetapps.com/?p=460#comment-655</guid> <description>This is a great hack but i can&#039;t get it to work in version 1.5.10 with Mynxx there is no line 517! Any help to get this to work in the newer version of VM would be great!</description> <content:encoded><![CDATA[<p>This is a great hack but i can&#8217;t get it to work in version 1.5.10 with Mynxx there is no line 517! Any help to get this to work in the newer version of VM would be great!</p> ]]></content:encoded> </item> <item><title>Comment on Using MySQL to generate daily sales reports with filled gaps by Jose</title><link>http://www.richnetapps.com/using-mysql-generate-daily-sales-reports-filled-gaps/comment-page-1/#comment-652</link> <dc:creator>Jose</dc:creator> <pubDate>Thu, 04 Mar 2010 05:33:03 +0000</pubDate> <guid
isPermaLink="false">http://www.richnetapps.com/?p=436#comment-652</guid> <description>Ok..Here&#039;s my try..I think this problem is easier to solve if we think in terms of unix timestamps:
I first create a &quot;numbers&quot; table, with a single field (id) that goes from 0 to &lt;max number of dates that may get involved in the query&gt;. The query then is this:select @row+numbers.id*86400 , orders.quantity  FROM (select @row:=(select UNIX_TIMESTAMP(min(order_date)) FROM orders), @end:=(select UNIX_TIMESTAMP(max
(order_date)) FROM orders)) r , numbers LEFT JOIN orders ON UNIX_TIMESTAMP(order_date)=@row+numbers.id*86400 WHERE @row+numbers.id*86400 &lt; @end;@row is initialized as the min date.The 86400 are the seconds in a day.The entries in the &quot;numbers&quot; table (0..1..2....n) makes the expression (@row+numbers.id*86400) jump one day at a time, which is then left joined to dates in the orders table.
In the case you&#039;d need hours, or minutes, instead of days, changing the constant should be enough.
I&#039;ve just crafted this query, so i dont know if it&#039;s bug-free! </description> <content:encoded><![CDATA[<p>Ok..Here&#8217;s my try..I think this problem is easier to solve if we think in terms of unix timestamps:<br
/> I first create a &#8220;numbers&#8221; table, with a single field (id) that goes from 0 to &lt;max number of dates that may get involved in the query&gt;. The query then is this:</p><p>select @row+numbers.id*86400 , orders.quantity  FROM (select @row:=(select UNIX_TIMESTAMP(min(order_date)) FROM orders), @end:=(select UNIX_TIMESTAMP(max<br
/> (order_date)) FROM orders)) r , numbers LEFT JOIN orders ON UNIX_TIMESTAMP(order_date)=@row+numbers.id*86400 WHERE @row+numbers.id*86400 &lt; @end;</p><p>@row is initialized as the min date.The 86400 are the seconds in a day.The entries in the &#8220;numbers&#8221; table (0..1..2&#8230;.n) makes the expression (@row+numbers.id*86400) jump one day at a time, which is then left joined to dates in the orders table.<br
/> In the case you&#8217;d need hours, or minutes, instead of days, changing the constant should be enough.<br
/> I&#8217;ve just crafted this query, so i dont know if it&#8217;s bug-free! </p> ]]></content:encoded> </item> <item><title>Comment on Does your PHP/MySQL app speak Unicode? by Funny games</title><link>http://www.richnetapps.com/php-mysql-speak-unicode/comment-page-1/#comment-647</link> <dc:creator>Funny games</dc:creator> <pubDate>Tue, 16 Feb 2010 07:11:04 +0000</pubDate> <guid
isPermaLink="false">http://www.richnetapps.com/?p=376#comment-647</guid> <description>i am  want to se more articles on this topic...thanks</description> <content:encoded><![CDATA[<p>i am  want to se more articles on this topic&#8230;thanks</p> ]]></content:encoded> </item> <item><title>Comment on Does your PHP/MySQL app speak Unicode? by free online games</title><link>http://www.richnetapps.com/php-mysql-speak-unicode/comment-page-1/#comment-646</link> <dc:creator>free online games</dc:creator> <pubDate>Sun, 14 Feb 2010 11:41:03 +0000</pubDate> <guid
isPermaLink="false">http://www.richnetapps.com/?p=376#comment-646</guid> <description>Really nice post thanks for sharing</description> <content:encoded><![CDATA[<p>Really nice post thanks for sharing</p> ]]></content:encoded> </item> <item><title>Comment on Javascript animated collapsible panels without any frameworks by Tom McAdams</title><link>http://www.richnetapps.com/javascript-animated-collapsible-panels-without-frameworks/comment-page-1/#comment-645</link> <dc:creator>Tom McAdams</dc:creator> <pubDate>Wed, 10 Feb 2010 23:41:21 +0000</pubDate> <guid
isPermaLink="false">http://www.richnetapps.com/?p=389#comment-645</guid> <description>I love the comment above that states &#039;Brilliant&#039;. Excellent tutorial, and very condensed code. I have been using jquery for years. Its time for a change. I had the same problem(image not clickable) as Shaun with IE6, and found a workaround for it, but I no longer have IE6, so I can not test it with your code. Again, excellent code!! There are a lot of collapsible codes out there, but your formatting (how it looks to the visitor) is what I think is the most important, and yours is very clean, yet professional in appearance.</description> <content:encoded><![CDATA[<p>I love the comment above that states &#8216;Brilliant&#8217;. Excellent tutorial, and very condensed code. I have been using jquery for years. Its time for a change. I had the same problem(image not clickable) as Shaun with IE6, and found a workaround for it, but I no longer have IE6, so I can not test it with your code. Again, excellent code!! There are a lot of collapsible codes out there, but your formatting (how it looks to the visitor) is what I think is the most important, and yours is very clean, yet professional in appearance.</p> ]]></content:encoded> </item> <item><title>Comment on Automatically highlight current page in menu via Javascript by Juan</title><link>http://www.richnetapps.com/automatically_highlight_current_page_in/comment-page-1/#comment-643</link> <dc:creator>Juan</dc:creator> <pubDate>Tue, 09 Feb 2010 13:07:23 +0000</pubDate> <guid
isPermaLink="false">#comment-643</guid> <description>With regards to the question of whether I can highlight two different links on the same page, for example, if I have a main navigation call &quot;about us&quot; and a left navigation call &quot;vision and mission&quot;, how do I get both &quot;about us&quot; and &quot;vision and mission&quot; highlighted. Take it that &quot;aboutus.html&quot; and &quot;visionandmission.html&quot; are in the same folder? Thanks. :)</description> <content:encoded><![CDATA[<p>With regards to the question of whether I can highlight two different links on the same page, for example, if I have a main navigation call &#8220;about us&#8221; and a left navigation call &#8220;vision and mission&#8221;, how do I get both &#8220;about us&#8221; and &#8220;vision and mission&#8221; highlighted. Take it that &#8220;aboutus.html&#8221; and &#8220;visionandmission.html&#8221; are in the same folder? Thanks. <img
src='http://cdn.richnetapps.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p> ]]></content:encoded> </item> <item><title>Comment on Google, Deep Web and GET vs. POST by deep web - StartTags.com</title><link>http://www.richnetapps.com/google-deep-web-get-vs-post/comment-page-1/#comment-642</link> <dc:creator>deep web - StartTags.com</dc:creator> <pubDate>Sun, 07 Feb 2010 02:21:59 +0000</pubDate> <guid
isPermaLink="false">#comment-642</guid> <description>[...] popular ... This is what I call the deep web information that regular search queries and regular ...Google, Deep Web and GET vs. POSTSome little advice for web developers in the light of the new Google features ... Google, Deep Web [...]</description> <content:encoded><![CDATA[<p>[...] popular &#8230; This is what I call the deep web information that regular search queries and regular &#8230;Google, Deep Web and GET vs. POSTSome little advice for web developers in the light of the new Google features &#8230; Google, Deep Web [...]</p> ]]></content:encoded> </item> <item><title>Comment on Searching in all tables and columns of a database by Ricardo Alfaro</title><link>http://www.richnetapps.com/searching_in_all_tables_and_columns_of_a/comment-page-1/#comment-641</link> <dc:creator>Ricardo Alfaro</dc:creator> <pubDate>Wed, 03 Feb 2010 23:15:38 +0000</pubDate> <guid
isPermaLink="false">#comment-641</guid> <description>Hi, this procedure is very useful but does not search the numeric fields (getting tested). Here the modified procedure that includes the numeric fields:
 
CREATE PROC SearchAllTables
(
@SearchStr nvarchar(100)
)
AS
BEGIN
-- Copyright © 2002 Narayana Vyas Kondreddi. All rights reserved.
-- Purpose: To search all columns of all tables for a given search string
-- Written by: Narayana Vyas Kondreddi
-- Site: http://vyaskn.tripod.com
-- Tested on: SQL Server 7.0 and SQL Server 2000
-- Date modified: 28th July 2002 22:50 GMT
-- ****************************************
-- Also for numeric field
-- Modified by Ricardo Alfaro Vega
CREATE TABLE #Results (ColumnName nvarchar(370), ColumnValue nvarchar(3630))
SET NOCOUNT ON
DECLARE @TableName nvarchar(256), @ColumnName nvarchar(128), @SearchStr2 nvarchar(110)
SET  @TableName = &#039;&#039;
SET @SearchStr2 = QUOTENAME(&#039;%&#039; + @SearchStr + &#039;%&#039;,&#039;&#039;&#039;&#039;)
WHILE @TableName IS NOT NULL
BEGIN
SET @ColumnName = &#039;&#039;
SET @TableName =
(
SELECT MIN(QUOTENAME(TABLE_SCHEMA) + &#039;.&#039; + QUOTENAME(TABLE_NAME))
FROM INFORMATION_SCHEMA.TABLES
WHERE TABLE_TYPE = &#039;BASE TABLE&#039;
AND QUOTENAME(TABLE_SCHEMA) + &#039;.&#039; + QUOTENAME(TABLE_NAME) &gt; @TableName
AND OBJECTPROPERTY(
OBJECT_ID(
QUOTENAME(TABLE_SCHEMA) + &#039;.&#039; + QUOTENAME(TABLE_NAME)
), &#039;IsMSShipped&#039;
) = 0
)
WHILE (@TableName IS NOT NULL) AND (@ColumnName IS NOT NULL)
BEGIN
SET @ColumnName =
(
SELECT MIN(QUOTENAME(COLUMN_NAME))
FROM INFORMATION_SCHEMA.COLUMNS
WHERE TABLE_SCHEMA = PARSENAME(@TableName, 2)
AND TABLE_NAME = PARSENAME(@TableName, 1)
AND DATA_TYPE IN (&#039;char&#039;, &#039;varchar&#039;, &#039;nchar&#039;, &#039;nvarchar&#039;)
AND QUOTENAME(COLUMN_NAME) &gt; @ColumnName
)
IF @ColumnName IS NOT NULL
BEGIN
INSERT INTO #Results
EXEC
(
&#039;SELECT &#039;&#039;&#039; + @TableName + &#039;.&#039; + @ColumnName + &#039;&#039;&#039;, LEFT(&#039; + @ColumnName + &#039;, 3630)
FROM &#039; + @TableName + &#039; (NOLOCK) &#039; +
&#039; WHERE &#039; + @ColumnName + &#039; LIKE &#039; + @SearchStr2
)
IF ISNUMERIC(@SearchStr) = 1
BEGIN
SET @ColumnName =
(
SELECT MIN(QUOTENAME(COLUMN_NAME))
FROM INFORMATION_SCHEMA.COLUMNS
WHERE TABLE_SCHEMA = PARSENAME(@TableName, 2)
AND TABLE_NAME = PARSENAME(@TableName, 1)
AND DATA_TYPE IN (&#039;int&#039;,&#039;bigint&#039;,&#039;smallint&#039;,&#039;tinyint&#039;,&#039;decimal&#039;,&#039;float&#039;,&#039;real&#039;)
AND QUOTENAME(COLUMN_NAME) &gt; @ColumnName
)
IF @ColumnName IS NOT NULL
BEGIN
INSERT INTO #Results
EXEC
(
&#039;SELECT &#039;&#039;&#039; + @TableName + &#039;.&#039; + @ColumnName + &#039;&#039;&#039;, LEFT(&#039; + @ColumnName + &#039;, 3630)
FROM &#039; + @TableName + &#039; (NOLOCK) &#039; +
&#039; WHERE &#039; + @ColumnName + &#039; LIKE &#039; + @SearchStr2
)
END                   
END
END
END
END
SELECT ColumnName, ColumnValue FROM #Results
ENDGO</description> <content:encoded><![CDATA[<p>Hi, this procedure is very useful but does not search the numeric fields (getting tested). Here the modified procedure that includes the numeric fields:<br
/>  <br
/> CREATE PROC SearchAllTables<br
/> (<br
/> @SearchStr nvarchar(100)<br
/> )<br
/> AS<br
/> BEGIN</p><p> &#8212; Copyright © 2002 Narayana Vyas Kondreddi. All rights reserved.<br
/> &#8212; Purpose: To search all columns of all tables for a given search string<br
/> &#8212; Written by: Narayana Vyas Kondreddi<br
/> &#8212; Site: <a
href="http://vyaskn.tripod.com" rel="nofollow">http://vyaskn.tripod.com</a><br
/> &#8212; Tested on: SQL Server 7.0 and SQL Server 2000<br
/> &#8212; Date modified: 28th July 2002 22:50 GMT</p><p> &#8212; ****************************************<br
/> &#8212; Also for numeric field<br
/> &#8212; Modified by Ricardo Alfaro Vega</p><p> CREATE TABLE #Results (ColumnName nvarchar(370), ColumnValue nvarchar(3630))</p><p> SET NOCOUNT ON</p><p> DECLARE @TableName nvarchar(256), @ColumnName nvarchar(128), @SearchStr2 nvarchar(110)<br
/> SET  @TableName = &#8221;<br
/> SET @SearchStr2 = QUOTENAME(&#8216;%&#8217; + @SearchStr + &#8216;%&#8217;,&#8221;&#8221;)</p><p> WHILE @TableName IS NOT NULL<br
/> BEGIN<br
/> SET @ColumnName = &#8221;<br
/> SET @TableName =<br
/> (<br
/> SELECT MIN(QUOTENAME(TABLE_SCHEMA) + &#8216;.&#8217; + QUOTENAME(TABLE_NAME))<br
/> FROM INFORMATION_SCHEMA.TABLES<br
/> WHERE TABLE_TYPE = &#8216;BASE TABLE&#8217;<br
/> AND QUOTENAME(TABLE_SCHEMA) + &#8216;.&#8217; + QUOTENAME(TABLE_NAME) &gt; @TableName<br
/> AND OBJECTPROPERTY(<br
/> OBJECT_ID(<br
/> QUOTENAME(TABLE_SCHEMA) + &#8216;.&#8217; + QUOTENAME(TABLE_NAME)<br
/> ), &#8216;IsMSShipped&#8217;<br
/> ) = 0<br
/> )</p><p> WHILE (@TableName IS NOT NULL) AND (@ColumnName IS NOT NULL)<br
/> BEGIN<br
/> SET @ColumnName =<br
/> (<br
/> SELECT MIN(QUOTENAME(COLUMN_NAME))<br
/> FROM INFORMATION_SCHEMA.COLUMNS<br
/> WHERE TABLE_SCHEMA = PARSENAME(@TableName, 2)<br
/> AND TABLE_NAME = PARSENAME(@TableName, 1)<br
/> AND DATA_TYPE IN (&#8216;char&#8217;, &#8216;varchar&#8217;, &#8216;nchar&#8217;, &#8216;nvarchar&#8217;)<br
/> AND QUOTENAME(COLUMN_NAME) &gt; @ColumnName<br
/> )</p><p> IF @ColumnName IS NOT NULL<br
/> BEGIN<br
/> INSERT INTO #Results<br
/> EXEC<br
/> (<br
/> &#8216;SELECT &#8221;&#8217; + @TableName + &#8216;.&#8217; + @ColumnName + &#8221;&#8217;, LEFT(&#8216; + @ColumnName + &#8216;, 3630)<br
/> FROM &#8216; + @TableName + &#8216; (NOLOCK) &#8216; +<br
/> &#8216; WHERE &#8216; + @ColumnName + &#8216; LIKE &#8216; + @SearchStr2<br
/> )<br
/> IF ISNUMERIC(@SearchStr) = 1<br
/> BEGIN<br
/> SET @ColumnName =<br
/> (<br
/> SELECT MIN(QUOTENAME(COLUMN_NAME))<br
/> FROM INFORMATION_SCHEMA.COLUMNS<br
/> WHERE TABLE_SCHEMA = PARSENAME(@TableName, 2)<br
/> AND TABLE_NAME = PARSENAME(@TableName, 1)<br
/> AND DATA_TYPE IN (&#8216;int&#8217;,'bigint&#8217;,&#8217;smallint&#8217;,'tinyint&#8217;,'decimal&#8217;,'float&#8217;,'real&#8217;)<br
/> AND QUOTENAME(COLUMN_NAME) &gt; @ColumnName<br
/> )</p><p> IF @ColumnName IS NOT NULL<br
/> BEGIN</p><p> INSERT INTO #Results<br
/> EXEC<br
/> (<br
/> &#8216;SELECT &#8221;&#8217; + @TableName + &#8216;.&#8217; + @ColumnName + &#8221;&#8217;, LEFT(&#8216; + @ColumnName + &#8216;, 3630)<br
/> FROM &#8216; + @TableName + &#8216; (NOLOCK) &#8216; +<br
/> &#8216; WHERE &#8216; + @ColumnName + &#8216; LIKE &#8216; + @SearchStr2<br
/> )<br
/> END                   <br
/> END<br
/> END<br
/> END<br
/> END</p><p> SELECT ColumnName, ColumnValue FROM #Results<br
/> END</p><p>GO</p> ]]></content:encoded> </item> <item><title>Comment on Automatically highlight current page in menu via Javascript by Juan</title><link>http://www.richnetapps.com/automatically_highlight_current_page_in/comment-page-1/#comment-640</link> <dc:creator>Juan</dc:creator> <pubDate>Mon, 01 Feb 2010 15:11:48 +0000</pubDate> <guid
isPermaLink="false">#comment-640</guid> <description>Thanks much for your code! :)</description> <content:encoded><![CDATA[<p>Thanks much for your code! <img
src='http://www.richnetapps.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p> ]]></content:encoded> </item> </channel> </rss>
<!-- Served from: box346.bluehost.com @ 2010-03-14 15:04:39 by W3 Total Cache -->