<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0" xmlns:blogChannel="http://backend.userland.com/blogChannelModule">

<channel>
<title>Webmasters and Developers forum - dslreports.com community</title>
<link>http://www.dslreports.com/forum/webmonk</link>
<description>Webmasters and Developers forum current topics</description>
<language>en</language>
<copyright>Copyright 2007, dslreports.com</copyright>
<pubDate>Tue, 21 May 2013 03:48:51 EDT</pubDate>
<lastBuildDate>Tue, 21 May 2013 03:48:51 EDT</lastBuildDate>

<image>
<title>dslreports.com</title>
<url>http://i.dslr.net/bbrdisc1.gif</url>
<link>http://www.dslreports.com</link>
<width>19</width>
<height>18</height>
<description>bbr disc</description>
</image>

<item>
<title>Why does my While Loop Loop only twice instead of 8?</title>
<link>http://www.dslreports.com/forum/remark,28306076</link>
<description><![CDATA[Here's my table data and my stored procedure in mySql
Table checkval
    val&#012;    ----&#012;    5705&#012;    5704&#012;    5703&#012;    5702&#012;    5701&#012;Stored Procedure
    BEGIN&#012;    DECLARE x INT;&#012;    DECLARE done INT DEFAULT FALSE;&#012;    DECLARE myType INT;&#012;    DECLARE cur1 CURSOR FOR select val from checkval;&#012;    DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE;&#012;    &#012;    SET x = 10;&#012;    &#012;    WHILE x  &gt;= 2 DO&#012;    ##############&#012;    &#012;    OPEN cur1;&#012;    &#012;    read_loop: LOOP&#012;    IF done THEN&#012;    LEAVE read_loop;&#012;    END IF;&#012;    &#012;    FETCH cur1 INTO myType;&#012;    insert into myType values (myType);&#012;    &#012;    &#012;    END LOOP read_loop;                 &#012;    CLOSE cur1;&#012;    SET  x = x-1; &#012;    &#012;    ##################&#012;    END WHILE;&#012;    &#012;    END&#012;
Current Output
    5705&#012;    5704&#012;    5703&#012;    5702&#012;    5701--Loops only twice&#012;    5705&#012;    5704&#012;    5703&#012;    5702&#012;    5701&#012;Desired Output
    5705 - Loops 8 times&#012;    5704&#012;    5703&#012;    5702&#012;    5701&#012;    5705&#012;    5704&#012;    5703&#012;    5702&#012;    5701&#012;    5705&#012;    5704&#012;    5703&#012;    5702&#012;    5701&#012;    5705&#012;    5704&#012;    5703&#012;    5702&#012;    5701&#012;    5705&#012;    5704&#012;    5703&#012;    5702&#012;    5701&#012;    5705&#012;    5704&#012;    5703&#012;    5702&#012;    5701&#012;    5705&#012;    5704&#012;    5703&#012;    5702&#012;    5701&#012;    5705&#012;    5704&#012;    5703&#012;    5702&#012;    5701&#012;
In all of this, even when I specify a while loop starting at `10` and ending at `2`, why do I get my output only looped twice in the target table. I was hoping to see it repeated 8 times. Can you pls help me on this? I'm backward with stored procedures, so I guess I'm not putting something in the right place or something like that.
]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,28306076</guid>
<pubDate>2013-05-20 10:18:30</pubDate>
</item>

<item>
<title>Constructive Criticism of Ecommerce Site in Dev</title>
<link>http://www.dslreports.com/forum/remark,28289995</link>
<description><![CDATA[Site is in DEV. Im two months in. Most graphics are just thrown together placeholders. Looking for suggestions on Layout and Navigation. Anything really. Ive been migrating a lot of data the past few weeks but I plan on focusing on the front end again in a month or two. Not looking to get bashed. Just looking for advice and opinions. 

Home page - http://c4w.gostorego.com/

Sub Category page for navigation - http://c4w.gostorego.com/shop-by-category/recovery.html

Sub cat root for Products and filtering products - http://c4w.gostorego.com/shop-by-category/recovery/winches.html

And an actual product page - http://c4w.gostorego.com/shop-by-category/recovery/winches/warn-zeon-8-synthetic.html

Configurable product page - http://c4w.gostorego.com/shop-by-category/recovery/winch-mounts/warn-gen-ii-system-2011-2013-super-duty.html]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,28289995</guid>
<pubDate>2013-05-14 14:36:03</pubDate>
</item>

<item>
<title>What are you doing about Flash vs. HTML5?</title>
<link>http://www.dslreports.com/forum/remark,28306293</link>
<description><![CDATA[With the Metro app version of IE10 the default in Win8, and Flash disappeared from Apple devices and Android without a workaround, it's looking like Flash's days are numbered.

While I've never been a fan of Flash on business sites, for fun, Gracie always makes very creative Flash presentations for her season's cards, and cards for friends' birthdays, anniversaries, etc. She uses both Flash 8 and Firestarter to create .swfs, and until recently, all our friends could see them and enjoy them. With many newbies coming on to Win 8, which defaults to a Metro IE with no Flash support, and not yet figuring out how to use the desktop version of IE10 (which can have Flash), suddenly there's a rash of people not able to enjoy the .swfs. 

What are you all using to replace Flash? Is there anything she can use to create the equivalent of her very creative Flash cards using HTML5 that could still be seen by people not using IE10? something affordable and easy to learn? Can .swfs be embedded in any other way so they can play even without Flash? (I'm pretty sure not, but thought I'd ask). Shame for all those lovely creations to die.
--
The truth of a thing is the feel of it, not the think of it. &#9;-- Stanley Kubrick]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,28306293</guid>
<pubDate>2013-05-20 11:46:03</pubDate>
</item>

<item>
<title>did you make any scripts for your self?</title>
<link>http://www.dslreports.com/forum/remark,28297745</link>
<description><![CDATA[let's share ideas ... 

we might discover something cool we can use...]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,28297745</guid>
<pubDate>2013-05-16 20:13:49</pubDate>
</item>

<item>
<title>How to do a if or case after a where in an sql statement</title>
<link>http://www.dslreports.com/forum/remark,28289216</link>
<description><![CDATA[I'm trying to use if or case in a select statement after the where, but my little knowledge of sql is preventing me from doing it.

What I'm trying to achieve is like this:
$i = 10;//This is arrived at using php&#012; &#012;//The sql in pseudo code&#012;select count(id) from products where parent = $foo and &#012;type = &#012;(if $i = 2 then type = 1, &#012;else if $i = 3 then type = 2 or 1, &#012;else if $i = 10 then type = 3)&#012;
How can something like this be done? Is is possible to this? I've used ifs before the where, but is using it after the where doable and also doing it with a php variable?

Please help.
]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,28289216</guid>
<pubDate>2013-05-14 10:46:25</pubDate>
</item>

<item>
<title>How: member-x in a list is also member-y</title>
<link>http://www.dslreports.com/forum/remark,28296851</link>
<description><![CDATA[Hello! I am new here in the forum, and I also a noob in programming Prolog, so if you could help me, I would very much appreciate it :)
How can I write in Prolog the following: that a member of a list, let's say, member1 is also member2 or member3, but not both of them?

Thank you very much!
Shizuka]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,28296851</guid>
<pubDate>2013-05-16 14:57:32</pubDate>
</item>

<item>
<title>how would you remove ...</title>
<link>http://www.dslreports.com/forum/remark,28295671</link>
<description><![CDATA[Hi so say I have a text file with say 500+ emails on my list

I got another file with 50 emails that are no longer working

what's the best way to go about removing those non working emails?

let's think of some way
some software
some online javascript text editor with such function?

I'm thinking - must be something already made... would be strange if nothing is out there - don't want to remake the wheel... so I guess if need be a simple script would do it...
 
thank you...

say in UltraEdit there is a function to delete duplicates
I could merge the two files and it would delete duplicates - but I would want to completely remove duplicate + original]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,28295671</guid>
<pubDate>2013-05-16 08:46:26</pubDate>
</item>

<item>
<title>Git question</title>
<link>http://www.dslreports.com/forum/remark,28285815</link>
<description><![CDATA[Hello,

Over the weekend i moved all my repositories from SVN to Git. On my old setup i would just checkout the latest tag to my webroot and keep the site up to date with just doing a svn update.

How can i do the same with Git? I would like to just check out the trunk or the latest tag and then just issue git pull whenever there is a change to the code.

Thanks for the info.]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,28285815</guid>
<pubDate>2013-05-13 10:11:05</pubDate>
</item>

<item>
<title>Software to make Photo Slideshow</title>
<link>http://www.dslreports.com/forum/remark,28288465</link>
<description><![CDATA[I am looking for software to make photo slide show, but here is the catch. 
Typically I need nothing special, just thumbnails that you click on to bring up a large image that people can see. When the full size picture comes up I need it to be a link to a page for that item which will contain product information and the option to buy.

All of the slide show makers that I have looked at either make flash files or the javascript ones use the big image for extra navigation.

Any help would be appreciated.]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,28288465</guid>
<pubDate>2013-05-14 01:08:47</pubDate>
</item>

<item>
<title>What? Browser stats surprising</title>
<link>http://www.dslreports.com/forum/remark,28286774</link>
<description><![CDATA[Maybe just me, but I was surprised by the latest browser stats from W3schools. 
http://www.w3schools.com/browsers/browsers_stats.asp . 
I'd assumed (with good cause, just seeing what most people I know, see in Starbucks, run across in the corporate world, etc. are using) that IE in some version (mostly 8 and up) would have the lion's share of usage, with FF moving up. But when I looked at the latest stats (April '13) it said that hardly ANYONE was using IE anymore, and the MAJORITY of people were using Chrome! Now I'm guessing that the high Chrome usage is due to Android phones, which really should be separate from desktop and laptop use. But still, FF more than twice IE? (I personally use both, FF more than IE, but I'm talking about the average computer user).

Here's the stats---did I read this wrong? This can't be right...almost all corporations are standardized on IE, for instance.

2013 &#9; April 
Internet Explorer&#9;12.7 % &#9;
Firefox 27.9 % &#9;
Chrome 52.7 % 
Safari&#9;4.0 % 
Opera&#9;1.7 %

What do you think? 
--
The truth of a thing is the feel of it, not the think of it. &#9;-- Stanley Kubrick]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,28286774</guid>
<pubDate>2013-05-13 14:56:00</pubDate>
</item>

<item>
<title>Mozilla - Phones for Apps for Firefox OS</title>
<link>http://www.dslreports.com/forum/remark,28285385</link>
<description><![CDATA[  quote:Maybe you&#146;ve built apps in the past for Chrome, webOS, Blackberry WebWorks, or the PhoneGap store. Maybe you&#146;ve created beautiful web apps for a desktop environment and now you want to port them to mobile. Maybe you&#146;re a student about to start a summer break. We know you may not live anywhere near Bogota, Colombia or Warsaw, Poland, locations of upcoming App Workshops.
 

Wherever you are, if you can show you&#146;ve got a great app idea and the skill to build it, we&#146;d love to see your apps in the Marketplace when the Firefox OS launch begins later this summer. And to sweeten the deal, we&#146;ll send a Firefox OS Developer Preview device for you to work with now...CONTINUED @ Mozilla Hacks

--
Gladiator Security Forum ]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,28285385</guid>
<pubDate>2013-05-13 02:46:22</pubDate>
</item>

<item>
<title>Looping through all the records inside a MySql event</title>
<link>http://www.dslreports.com/forum/remark,28275204</link>
<description><![CDATA[Can you please help me with looping inside a MySql event?

I did this event in MySql, but I guess I'm missing something. It works if I supply a limit = 1, which means it isn't looping thru the thing. How can I do that?

This works. (For only one record)
    BEGIN&#012;    &#012;    DECLARE c VARCHAR(2);&#012;    DECLARE vElm INT(10);&#012;    DECLARE vType TINYINT(1);&#012;    &#012;    select distinct(country) into c from votes limit 1;&#012;    &#012;    select votedElm, voteType into vElm, vType from votes where country = c limit 1;&#012;    &#012;    IF vType = 0 THEN&#012;    update likes set votes = votes+1 where id = vElm and country = c and type = 10;&#012;    ELSE IF vType = 1&#012;    update likes set votes = votes-1 where id = vElm and country = c and type = 10;&#012;    END IF;  &#012;    &#012;    END&#012;
This will not. Note: The limit 1 has been removed
    BEGIN&#012;    &#012;    DECLARE c VARCHAR(2);&#012;    DECLARE vElm INT(10);&#012;    DECLARE vType TINYINT(1);&#012;    &#012;    select distinct(country) into c from votes;&#012;    //Need to loop here. This returns multiple records.&#012;    &#012;    select votedElm, voteType into vElm, vType from votes where country = c; &#012;    //Need to loop here too. This too returns multiple records.&#012;    &#012;    IF vType = 0 THEN&#012;    update likes set votes = votes+1 where id = vElm and country = c and type = 10;&#012;    ELSE IF vType = 1&#012;    update likes set votes = votes-1 where id = vElm and country = c and type = 10;&#012;    END IF;  &#012;    &#012;    END&#012;
How is looping done inside a MySql event?
Thanks
]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,28275204</guid>
<pubDate>2013-05-09 09:41:57</pubDate>
</item>

<item>
<title>Network Solutions: &#x26;amp;quot;Reinstatement fee&#x26;amp;quot;</title>
<link>http://www.dslreports.com/forum/remark,28063121</link>
<description><![CDATA[Well how about that; missed domain renewal by a day, and got hit with $25.99 "reinstatement fee" on top of the $37.99 yearly fee.

Does anybody else do this?]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,28063121</guid>
<pubDate>2013-03-03 10:22:17</pubDate>
</item>

<item>
<title>Newbie .css &#x26;amp; layout questions</title>
<link>http://www.dslreports.com/forum/remark,28278961</link>
<description><![CDATA[Helping a friend with her personal site. At first, we laid everything out with tables (yes, I know, old school, but it's what I know), using .css for everything else. Then I redid it without tables, using .divs instead. Here are the problems:

1. In the table site, on the main page (http://moonlake.net/becoming/index.html ) everything lays out ok (including the non-kosher surrounding table with 100% height to center the content table vertically) in both IE and FF, but the font sizes differ, becoming smaller in FF. Why? Can I avoid this so the fonts display the same in both browsers?

2. In the non-table site, on the main page (http://moonlake.net/becoming/index2.html ), in FF, the menu links do not align centered, but over to the left, despite specifying text-align center. In IE everything looks correct. This is why I use tables, but I'm trying to learn how to work without tables (not sure why, just stubborn, I guess ;)).

3. On the inside pages (for instance, http://moonlake.net/becoming/bbpsych.html ), I would have liked two lines of text next to the logo pic at the top right, but even using an align: middle property for the picture, only the first line of the text vertically aligns to the middle of the picture; if I add a second line, it goes below. This is how it always behaves in HTML without css; is there anyway to have two lines line up to the right of the picture? Without using another table?

Sorry for the newb misundertandings; this is how I learn ;). Thanks.
--
The truth of a thing is the feel of it, not the think of it. &#9;-- Stanley Kubrick]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,28278961</guid>
<pubDate>2013-05-10 12:22:09</pubDate>
</item>

<item>
<title>online tools for gmail?</title>
<link>http://www.dslreports.com/forum/remark,28268372</link>
<description><![CDATA[this is a great tool for finding big messages https://www.findbigmail.com/

I'm sure there is a way to see which email addresses you email most and etc etc...

is anyone aware of any other alike online tools/services?

thank you...]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,28268372</guid>
<pubDate>2013-05-07 04:41:13</pubDate>
</item>

<item>
<title>Novice request</title>
<link>http://www.dslreports.com/forum/remark,28241921</link>
<description><![CDATA[I want to learn Visual Studio, and more specifically, Visual C++ (and BASIC).  Many many years ago I played with BASIC on a Texas Instruments TI-994A home computer, and created some very simple games of my own, based partly on example source codes that I got from magazines I read at the time.

A lot has changed since then, but I'd like to find a few sites with really simple basic source codes that I can play with, tweak, and learn from.

Also, is there any book you'd recommend over Ivar Horton's book?
--
Join Teams Helix and Discovery.  Rest in Peace, Leonard David Smith, my best friend, you are missed badly!  Rest in peace, Pop, glad our last years were good.  Please pray for Colin, he has ependymoma, a brain cancer, donate to a children's Hospital.]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,28241921</guid>
<pubDate>2013-04-27 14:09:21</pubDate>
</item>

<item>
<title>Retrieve hierarchy from a table like this</title>
<link>http://www.dslreports.com/forum/remark,28268362</link>
<description><![CDATA[I'm using MySql with PHP and have all my data in a table like this:

    "id""name"       "description"           "level""parent""country""maxLevel"&#012;    "1"    "Kitchenware""Kitchenware description""1"      "0"      "US"      "0"&#012;    "2"    "Knives"    "All our knives"        "2"      "1"      "US"      "0"&#012;    "3"    "Butter Knives""All Butter Knives"        "3"      "2"      "US"      "0"&#012;    "4"    "Cut em all""Cut em all"            "4"      "3"      "US"      "0"&#012;    "5"    "Cull em all""Cull em all"            "4"      "3"      "US"      "0"&#012;    "6"    "Smear em all""Smear em all"            "4"      "3"      "US"      "0"&#012;    "7"    "Meat Knives""All Meat Knives"        "3"      "2"      "US"      "0"&#012;    "8"    "Cut em meat""Cut em meat"            "4"      "7"      "US"      "0"&#012;    "9"    "Cull em meat""Cull em meat"            "4"      "7"      "US"      "0"&#012;    "10""Smear em meat""Smear em meat"            "4"      "7"      "US"      "0"&#012;
From this, If I had for eg: id = 10, how would the sql be to display the hierarchy for an item?

So for id = 10, the hierarchy would be:
    Kitchenware &gt; Knives &gt; Meat Knives &gt; Smear em meat&#012;For id=7 the hierrchy would be:
    Kitchenware &gt; Knives &gt; Meat Knives&#012;For id=4 the hierarchy would be
    Kitchenware &gt; Knives &gt; Butter Knives &gt; Cut em all&#012;And so on. Any idea how to structure the sql to achieve this? The problem here is there are no fixed levels.
]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,28268362</guid>
<pubDate>2013-05-07 04:09:29</pubDate>
</item>

<item>
<title>Building the sql to get data like this from this insane tabl</title>
<link>http://www.dslreports.com/forum/remark,28263645</link>
<description><![CDATA[From the table below, how could I possibly get data out like this:
My sql knowledge is limited to select and other basic stuff. I'm way backward on other stuff.


    Level 1 Eg: Kitchenware
     Level 2 Eg: Knives
      Level 3 Eg: Butter Knives
       Level 4: Cut em all
       Level 4: Cull em all
       Level 4: Smear em all 
      Level 3 Eg: Meat Knives
       Level 4: Cut em meat
       Level 4: Cull em meat
       Level 4: Smear em meat


Levels 1 and 2 are headings and cannot hold items. Level 3 can hold items. Level 4 are items. Will it be possible to do the above. Sometimes, heading 3 may appear directly after heading one. How should I go about with this?


    "id"&#9;"name"&#9;       "description"&#9;           "level"&#9;"parent"&#9;"country"&#9;"maxLevel"
    "1"&#9;    "Kitchenware"&#9;"Kitchenware description"&#9;"1"&#9;      "0"&#9;      "US"&#9;      "0"
    "2"&#9;    "Knives"&#9;    "All our knives"&#9;        "2"&#9;      "1"&#9;      "US"&#9;      "0"
    "3"&#9;    "Butter Knives"&#9;"All Butter Knives"&#9;        "3"&#9;      "2"&#9;      "US"&#9;      "0"
    "4"&#9;    "Cut em all"&#9;"Cut em all"&#9;            "4"&#9;      "3"&#9;      "US"&#9;      "0"
    "5"&#9;    "Cull em all"&#9;"Cull em all"&#9;            "4"&#9;      "3"&#9;      "US"&#9;      "0"
    "6"&#9;    "Smear em all"&#9;"Smear em all"&#9;            "4"&#9;      "3"&#9;      "US"&#9;      "0"
    "7"&#9;    "Meat Knives"&#9;"All Meat Knives"&#9;        "3"&#9;      "2"&#9;      "US"&#9;      "0"
    "8"&#9;    "Cut em meat"&#9;"Cut em meat"&#9;            "4"&#9;      "7"&#9;      "US"&#9;      "0"
    "9"&#9;    "Cull em meat"&#9;"Cull em meat"&#9;            "4"&#9;      "7"&#9;      "US"&#9;      "0"
    "10"&#9;"Smear em meat"&#9;"Smear em meat"&#9;            "4"&#9;      "7"&#9;      "US"&#9;      "0"




Table create
    CREATE TABLE `products` (
    &#9;`id` INT(10) NULL AUTO_INCREMENT,
    &#9;`name` VARCHAR(50) NULL DEFAULT NULL,
    &#9;`description` VARCHAR(240) NULL DEFAULT NULL,
    &#9;`level` TINYINT(1) NULL DEFAULT '0',
    &#9;`parent` INT(10) NULL DEFAULT '0',
    &#9;`country` VARCHAR(2) NULL DEFAULT NULL,
    &#9;`maxLevel` INT(1) NULL DEFAULT NULL,
    &#9;PRIMARY KEY (`id`)
    )
    COLLATE='utf8_general_ci'
    ENGINE=MyISAM;



Table Data

    INSERT IGNORE INTO `products` (`id`, `name`, `description`, `type`, `parent`, `country`, `maxLevel`) VALUES
    &#9;(1, 'Kitchenware', 'Kitchenware description', 1, 0, 'US', 0),
    &#9;(2, 'Knives', 'All our knives', 2, 1, 'US', 0),
    &#9;(3, 'Butter Knives', 'All Butter Knives', 3, 2, 'US', 0),
    &#9;(4, 'Cut em all', 'Cut em all', 4, 3, 'US', 0),
    &#9;(5, 'Cull em all', 'Cull em all', 4, 3, 'US', 0),
    &#9;(6, 'Smear em all', 'Smear em all', 4, 3, 'US', 0),
    &#9;(7, 'Meat Knives', 'All Meat Knives', 3, 2, 'US', 0),
    &#9;(8, 'Cut em meat', 'Cut em meat', 4, 7, 'US', 0),
    &#9;(9, 'Cull em meat', 'Cull em meat', 4, 7, 'US', 0),
    &#9;(10, 'Smear em meat', 'Smear em meat', 4, 7, 'US', 0);

]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,28263645</guid>
<pubDate>2013-05-05 12:18:39</pubDate>
</item>

</channel>
</rss>
