<?xml version="1.0"?>
<rss version="2.0"><channel><title>Killersites University Latest Topics</title><link>https://www.killersites.com/community/index.php?/forum/31-killersites-university/</link><description>Killersites University Latest Topics</description><language>en</language><item><title>Killersites University Has Been Renamed!</title><link>https://www.killersites.com/community/index.php?/topic/21698-killersites-university-has-been-renamed/</link><description><![CDATA[
<p>
	Hi,
</p>

<p>
	If you are looking for interactive web design and programming training and public school recognized certification, check out <a href="https://www.studioweb.com/" rel="external nofollow">Studioweb</a>
</p>

<p>
	Studioweb Academy is now replacing KillerSites University with updated courses and a much more refined system. 
</p>

<p>
	As such, I am closing this forum. Please check out the <a data-ipb="nomediaparse" href="https://www.killersites.com/community/index.php?/forum/51-studioweb/" rel="">Studioweb forum</a>. 
</p>

<p>
	Thanks!
</p>

<p>
	Stefan
</p>
]]></description><guid isPermaLink="false">21698</guid><pubDate>Wed, 26 Mar 2014 17:44:11 +0000</pubDate></item><item><title>Question About Web Programmer Course/php</title><link>https://www.killersites.com/community/index.php?/topic/21444-question-about-web-programmer-coursephp/</link><description><![CDATA[
<p>Hello there, I bought and started the complete web programmer course recently and after going through basic PHP videos and basic MySQL with ease I suddenly felt it gave a huge jump when the PHP CRUD videos started, as if the person on the video is skipping a lot of terms, commands, operators that weren't mentioned at all during the first two. Has anybody had the same experience? I was doing just fine and then suddenly I feel he is just typing in code and not explaining some things that weren't mentioned, and I'm getting frustrated because updating and then showing a list of records is what I need to learn for my personal project.</p>
<p> </p>
<p>Related to this comes this topic question: Am I following the correct order or is there any course missing in the middle?</p>
<p> </p>
<p>The course order .txt goes like:</p>
<p> </p>
<p>1. PHP Basic - 274min</p>
<p>   2. PHP Misc. - 141min</p>
<p>   3. PHP and MySQL Basics - 105min</p>
<p>   4. PHP CRUD + Pagenation - 90min</p>
<p> </p>
<p>And the downloads zips/folders do not contain any "PHP Misc" that I could find. It is really confusing and I'm wondering if maybe I'm having trouble because I am missing those files. I am sure I downloaded all of the ones on the download page. Hope somebody can give me any pointers on either the difficulty jump or if I am indeed missing files.</p>
<p> </p>
<p>I attach the finder image with the .txt and all the folders I got from the site, which I had to order and name myself because they were all mixed up. :c</p>
<p> </p>
<p>Thanks in advance!</p>
]]></description><guid isPermaLink="false">21444</guid><pubDate>Sat, 01 Feb 2014 22:08:31 +0000</pubDate></item><item><title><![CDATA[Looking For Thoughts & Feedback On Ku]]></title><link>https://www.killersites.com/community/index.php?/topic/21267-looking-for-thoughts-feedback-on-ku/</link><description><![CDATA[
<p>So, I'm contemplating spending the money for the 3 month or the 1 year subscription to Killersites Uniersity, but I wanted to ask a few questions to people that have used it or to the creator of the videos. </p>
<p> </p>
<p>My knowledge on coding is around the intermediate level I'd say. I've got good HTML knowledge but I'm still trying to fully master CSS knowledge as there's a lot more to take in than HTML, but I can manage when it comes to coding a site in html/css and deciphering code. I've completed all the courses on Code Academy and I've tried learning using W3Schools but I learn best when it's interactive learning that comes with hands on projects and W3 kinda reads more like a book than interactive work. </p>
<p> </p>
<p> </p>
<p>What I want to know is..</p>
<p><em>Will the sites courses give me detailed info on hand coding or is everything taught in Dreamweaver? ..I have Dreamweaver, but I'm told that I should learn hand coding before heading into dreamweaver. </em></p>
<p><em> </em></p>
<p><em>Has anyone started from beginners/intermediate level coding and progressed because of this class? If so, please post up your story. </em></p>
<p><em> </em></p>
<p><em>Will these courses show me how to code </em><em><span style="text-decoration:underline;">AND</span></em><em> design or are they mainly focused on coding?</em></p>
<p> </p>
<p> </p>
<p>Any and all feedback is appreciated. If you've purchased the subscription package and feel it wasn't worth it, please post why. If you feel it was worth it, please post why as well. Greatly appreciate anyone that replies, thanks!</p>
]]></description><guid isPermaLink="false">21267</guid><pubDate>Sun, 05 Jan 2014 23:54:31 +0000</pubDate></item><item><title>Problem with Spanish Characters in XML</title><link>https://www.killersites.com/community/index.php?/topic/6010-problem-with-spanish-characters-in-xml/</link><description><![CDATA[
<p>I have been fighting with XML Spanish Characters in XML i have try so many  Encoding tag for it to work but its noting   </p>
<p> </p>
<p>i have tried &lt;?xml version="1.0" encoding="ISO-8859-1" ?&gt; , also i tried &lt;?xml version="1.0" encoding="utf-8"?&gt; too its still the same  and  not working for my Spanish characters such as  é á . instead of showing it as output its showing another letter </p>
<p> </p>
<p> </p>
<p>i don't know if the platform  i am working on have any thing to do with the encoding because am currently  working on the windows platform but am sure  &lt;?xml version="1.0" encoding="ISO-8859-1" ?&gt;  and &lt;?xml version="1.0" encoding="utf-8"?&gt; works on UNIX platform .</p>
<p> </p>
<p>Please i need  help with this Thanks.</p>
]]></description><guid isPermaLink="false">6010</guid><pubDate>Thu, 18 Aug 2011 15:21:59 +0000</pubDate></item><item><title>Cms Tutorial</title><link>https://www.killersites.com/community/index.php?/topic/17492-cms-tutorial/</link><description><![CDATA[
<p>Just going through the CMS tutorial and now on video 27, </p>
<p>when I can't seem to get the Loggin color box to pop up with the Jquery/colorbox function.</p>
<p> </p>
<p>I can login by typing in the full pathway in the URL (<a href="http://wolfcut.co.uk/app/login.php" rel="external nofollow">http://wolfcut.co.uk/app/login.php</a>)</p>
<p>but thats not how its supposed to be.</p>
<p> </p>
<p>There are also no error messages at this point.</p>
<p> </p>
<p>Could it be that I haven't reached the appropriate tutorial yet? Or that Jquery/colorbox pathway is somehow incorrect, because of the latest Jquery. </p>
<p>I did follow precisely what the tutorial says on video 19 and used the JQuery provided. I also replaced your JQuery with the new version, but both don't seem to work.</p>
<p> </p>
<p><span style="text-decoration:underline;"><strong>t_login.php</strong></span></p>
<p>&lt;link href="&lt;?php echo APP_RESOURCES; ?&gt;css/fp_style.css" media="screen" rel="stylesheet" type="text/css" /&gt;</p>
<p> </p>
<p>&lt;script type="text/javascript" src="<a href="http://code.jquery.com/jquery-1.5.2.min.js" rel="external nofollow">http://code.jquery.com/jquery-1.5.2.min.js"&gt;&lt;/script&gt;</a></p>
<p>&lt;script type="text/javascript"&gt;$.noConflict();&lt;/script&gt;</p>
<p> </p>
<p>&lt;script type="text/javascript" src="&lt;?php echo APP_RESOURCES; ?&gt;javascript/colorbox/colorbox.js"&gt;&lt;/script&gt;</p>
<p>&lt;link href="&lt;?php echo APP_RESOURCES; ?&gt;javascript/colorbox/colorbox.css" media="screen" rel="stylesheet" type="text/css" /&gt;</p>
<p> </p>
<p>&lt;script type="text/javascript"&gt;</p>
<p> </p>
<p>	jQuery(document).ready(function($) {</p>
<p> </p>
<p>		$.colorbox({</p>
<p>			transition: 'fade',</p>
<p>			initialWidth: '50px',</p>
<p>			initialHeight: '50px',</p>
<p>			overlayClose: false,</p>
<p>			escKey: false,</p>
<p>			scrolling: false,</p>
<p>			opacity: .6,</p>
<p>			href: '&lt;?php echo SITE_PATH; ?&gt;app/login.php'</p>
<p>		});</p>
<p> </p>
<p>	});</p>
<p> </p>
<p>&lt;/script&gt;</p>
<p> </p>
<p> </p>
<p><span style="text-decoration:underline;"><strong>t_head.php</strong></span></p>
<p></p>
<pre class="ipsCode">&lt;link href="&lt;?php echo APP_RESOURCES; ?&gt;css/fp_style.css" media="screen" rel="stylesheet" type="text/css"&gt;

&lt;!-- jquery &amp; colorbox --&gt;
&lt;script type="text/javascript" src="http://code.jquery.com/jquery-1.5.2.min.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript"&gt;$.noConflict();&lt;/script&gt;

&lt;script type="text/javascript" src="&lt;?php echo APP_RESOURCES; ?&gt;javascript/colorbox/colorbox.js"&gt;&lt;/script&gt;
&lt;link href="&lt;?php echo APP_RESOURCES; ?&gt;javascript/colorbox/colorbox.css" media="screen" rel="stylesheet" type="text/css" /&gt;

&lt;script type="text/javascript"&gt;

jQuery(document).ready(function($) {

});

&lt;/script&gt;</pre>
<div></div>
<p></p>
<p> </p>
<p>Any suggestions.</p>
<p> </p>
<p>Thank you</p>
]]></description><guid isPermaLink="false">17492</guid><pubDate>Tue, 17 Sep 2013 11:10:12 +0000</pubDate></item><item><title>Dreamweaver Cs6 And Wordpress</title><link>https://www.killersites.com/community/index.php?/topic/10671-dreamweaver-cs6-and-wordpress/</link><description><![CDATA[<p>Is there a know Mac / MAMP issue with setting up Wordpress in the local environment. I get the error massage Dynamically-related files could not be resolved because the site definition is not correct for the server. I have tried several setup options and watch several online tutorials.</p>]]></description><guid isPermaLink="false">10671</guid><pubDate>Sat, 29 Dec 2012 12:43:53 +0000</pubDate></item><item><title>Contact Us Form</title><link>https://www.killersites.com/community/index.php?/topic/10115-contact-us-form/</link><description><![CDATA[
<p>Hello everyone, I am tying to build my first website and am pretty sure this question has been asked zillions of time so please dont be offended.  I just do not know where to access the information?</p>
<p> </p>
<p>I want to create a Contact Us page, but do not know how to go about it <img src="https://www.killersites.com/community/uploads/emoticons/default_bash2.gif" alt=":bash:" data-emoticon=""></p>
<p>Thanks for your help in telling me how, or in pointing me towards the right place to find the info so requested.</p>
]]></description><guid isPermaLink="false">10115</guid><pubDate>Sun, 25 Nov 2012 20:14:15 +0000</pubDate></item><item><title>Answer Validator needs adjusting</title><link>https://www.killersites.com/community/index.php?/topic/8754-answer-validator-needs-adjusting/</link><description><![CDATA[
<p>Hi,</p>
<p>The courses and instruction are great!</p>
<p> </p>
<p>This is a minor complaint that a little tweaking can fix.</p>
<p>Perhaps this thread can be used for similar tweaks needed with other courses.</p>
<p> </p>
<p>The problem is that on occassion, a correct answer is given, but the validation  </p>
<p>process does not accept the answer as correct.</p>
<p> </p>
<p>The correction is to update the validation for those answers.</p>
<p> </p>
<p>Two examples:</p>
<p>In the HTML5 CSS3 and JQuery course, an answer to update the HTML tags to HTML5  </p>
<p>was considered incorrect. In comparing the given answer (obtained after "giving up")  </p>
<p>to the one I had, the only difference was this meta tag:  </p>
<p>&lt;meta charset=utf-8&gt; vs. &lt;meta charset=UTF-8&gt;    </p>
<p>Clearly, both are correct, but submitting the "wrong" case yielded an error.</p>
<p> </p>
<p>In the same course, in the Intro to CSS3, video 2 Intro to Crossbrowser Compatability,  </p>
<p>Question 2, we are asked to "Add the html5shiv script for older versions of IE"</p>
<p>The website is given, so one just has to copy/paste. Well, the code has changed since</p>
<p>the course was written, so the new code is marked wrong.  Asking for the answer so that</p>
<p>one could paste in the former answer and move on was not helpful-- it referred to the</p>
<p>same site.  </p>
<p> </p>
<p>In creating new course content, it may be wise to not ask a question that has an</p>
<p>answer that is likely to change, such as a script on another site. It might also</p>
<p>be a good idea to check validation scripts so that correct answers are not deemed</p>
<p>incorrect. </p>
<p> </p>
<p>Aside from these minor flaws, the teaching and flow of the Killersites University    </p>
<p>courses are excellent and a pleasurable way to learn.</p>
]]></description><guid isPermaLink="false">8754</guid><pubDate>Sun, 14 Oct 2012 23:28:10 +0000</pubDate></item><item><title>Feedback so far</title><link>https://www.killersites.com/community/index.php?/topic/6552-feedback-so-far/</link><description><![CDATA[
<p>Hey guys.  </p>
<p> </p>
<p>I just wanted to say I am very happy so far with my premium subscription.  There is enough content on there to keep me going for ever.  Also backed up with the friendly and mature forum in honesty I don't need look anywhere else.</p>
<p> </p>
<p>Im currently studying:-</p>
<p> </p>
<p>Wordpress</p>
<p>Dreamweaver</p>
<p>HTML</p>
<p>CSS</p>
<p>PHP</p>
<p> </p>
<p>Not in that order, I do what I need to do today as I have a client and am learning as I go.</p>
<p> </p>
<p>I can honestly say Killer sites is the backbone of my start up web design business!  I don't know how I can give a higher rating than that.   <img src="https://www.killersites.com/community/uploads/emoticons/default_clap.gif" alt=":clap:" data-emoticon=""></p>
<p> </p>
<p>So, keep it up and ill keep stumping up for my subscription  <img src="https://www.killersites.com/community/uploads/emoticons/default_cool.png" alt="B)" data-emoticon=""></p>
]]></description><guid isPermaLink="false">6552</guid><pubDate>Wed, 14 Dec 2011 09:25:52 +0000</pubDate></item><item><title>Killersites University</title><link>https://www.killersites.com/community/index.php?/topic/7956-killersites-university/</link><description><![CDATA[
<p>Hi,</p>
<p> </p>
<p>I should mention that we changed the Killersites University to the Killersites Library: <a href="http://www.killersites.com/video-library/" rel="external nofollow">http://www.killersites.com/video-library/</a></p>
<p> </p>
<p>Our new interactive training system can be found here:  <a href="http://www.killersitesuniversity.com/" rel="external nofollow">http://www.killersitesuniversity.com/</a></p>
<p> </p>
<p>Thanks,</p>
<p> </p>
<p>Stefan</p>
]]></description><guid isPermaLink="false">7956</guid><pubDate>Thu, 12 Jul 2012 19:14:08 +0000</pubDate></item><item><title>Display Images</title><link>https://www.killersites.com/community/index.php?/topic/8067-display-images/</link><description><![CDATA[
<p>I am having problem in retrieving images.here is the code of displaying image</p>
<p> </p>
<p> </p>
<p>$image_tmpname = $_FILES['file']['name'];</p>
<p>//echo $image_tmpname ;</p>
<p>$imgdir = "../wajahat_pro/uploads/";  //in this folder the images are saving</p>
<p>$imgname = $imgdir.$image_tmpname;						</p>
<p> </p>
<p>$query = "SELECT * FROM store WHERE id =30";</p>
<p> </p>
<p>$result = mysql_query($query);</p>
<p> </p>
<p> </p>
<p>while($row = mysql_fetch_assoc($result))</p>
<p>{</p>
<p> </p>
<p> echo $img=$row['name'];</p>
<p>echo '&lt;img src="' . $row['name'] . "' alt='' /&gt;";</p>
<p> </p>
<p>}</p>
<p> </p>
<p> </p>
<p> </p>
<p>the images are not displaying on the  page.</p>
]]></description><guid isPermaLink="false">8067</guid><pubDate>Mon, 13 Aug 2012 09:46:01 +0000</pubDate></item><item><title>Video Blog - Gamification and How We Learn</title><link>https://www.killersites.com/community/index.php?/topic/8059-video-blog-gamification-and-how-we-learn/</link><description><![CDATA[
<p>In this video blog, Stefan discusses his theories on how we learn and gamification.</p>
<p> </p>
<p><a href="http://www.youtube.com/watch?v=Q-2NTRqCa8w" rel="external nofollow">http://www.youtube.com/watch?v=Q-2NTRqCa8w</a></p>
<p> </p>
<p>You can check out our interactive training at <a href="http://www.killersitesuniversity.com/" rel="external nofollow">KillersitesUniversity.com</a>!</p>
<p> </p>
<p> </p>
<p>Thanks,</p>
<p> </p>
<p>Jody</p>
<p>Killersites.com</p>
]]></description><guid isPermaLink="false">8059</guid><pubDate>Fri, 10 Aug 2012 17:07:45 +0000</pubDate></item><item><title>Killersites University Video - Gaming Principles and Online Learning</title><link>https://www.killersites.com/community/index.php?/topic/8058-killersites-university-video-gaming-principles-and-online-learning/</link><description><![CDATA[
<p>In this video blog, Stefan talks about how gaming principles are being combined with online learning videos to enhance the learning experience.</p>
<p> </p>
<p><a href="http://www.youtube.com/watch?v=fh9TiCug3fA" rel="external nofollow">http://www.youtube.com/watch?v=fh9TiCug3fA</a></p>
<p> </p>
<p>You can check it out at <a href="http://www.killersitesuniversity.com/" rel="external nofollow">KillersitesUniversity.com</a>!</p>
<p> </p>
<p> </p>
<p>Thanks,</p>
<p> </p>
<p>Jody</p>
<p>Killersites.com</p>
]]></description><guid isPermaLink="false">8058</guid><pubDate>Fri, 10 Aug 2012 16:56:37 +0000</pubDate></item><item><title>KillerSites University - Interactive Video Training</title><link>https://www.killersites.com/community/index.php?/topic/8057-killersites-university-interactive-video-training/</link><description><![CDATA[
<p>In this video, Stefan talks about the Killersites Interactive Training Site!</p>
<p> </p>
<p><a href="http://www.youtube.com/watch?v=WzNvYIHo4a4" rel="external nofollow">http://www.youtube.com/watch?v=WzNvYIHo4a4</a></p>
<p> </p>
<p>You can check it out at <a href="http://www.killersitesuniversity.com/" rel="external nofollow">KillersitesUniversity.com</a>!</p>
<p> </p>
<p> </p>
<p>Thanks,</p>
<p> </p>
<p>Jody</p>
<p>Killersites.com</p>
]]></description><guid isPermaLink="false">8057</guid><pubDate>Fri, 10 Aug 2012 16:49:30 +0000</pubDate></item><item><title>Wordpress installation</title><link>https://www.killersites.com/community/index.php?/topic/5867-wordpress-installation/</link><description><![CDATA[<p>I am working my way through the Dreamweaver and Wordpress videos. I have installed wamp, created a database and am up to setting up the database connection. I can't get past the step where I need to enter database name, username, password, database host, table prefix.Do I need to set up a testing server in dreamweaver before I can install wordpress?or...Do I need to sign up with a hosting service before I can complete this step?</p>]]></description><guid isPermaLink="false">5867</guid><pubDate>Mon, 25 Jul 2011 05:28:57 +0000</pubDate></item><item><title>What's the differrence?</title><link>https://www.killersites.com/community/index.php?/topic/7716-whats-the-differrence/</link><description><![CDATA[<p>On <a href="http://www.killersites.com/video-library/members/" rel="external nofollow">this page</a>, what is the difference between Web Design 1 with 27 videos and Web Design 1 with 24 videos?  I've already listened to most of the videos in the first one -- are the videos in the second set the same as in the first set?</p>]]></description><guid isPermaLink="false">7716</guid><pubDate>Mon, 14 May 2012 01:06:32 +0000</pubDate></item><item><title>build a content management system javascript issue</title><link>https://www.killersites.com/community/index.php?/topic/7405-build-a-content-management-system-javascript-issue/</link><description><![CDATA[
<p>Hi guys, I have an issue that I'm coming up with on the content management system setup, I have built out a pretty decent (I think anyways lol) cms from this setup, &amp; have found an issue that is kinda baffling me... I know why, but not sure what to do about fixing it....</p>
<p> </p>
<p>if I type </p>
<p> </p>
<p>"info   hello &lt;h1 id="bummer"&gt;" </p>
<p> </p>
<p>in a wysiwyg, or a textbox (maybe even a oneline, not sure) I will get in a print_r($_POST)</p>
<p> </p>
<p>Array</p>
<p>(</p>
<p>    [uri] =&gt; ticketing</p>
<p>    [block] =&gt; content_maincontent</p>
<p>    [field] =&gt; info </p>
<p>    [nbsp;_hello_ "bummer"&gt;</p>
<p>)</p>
<p> </p>
<p>I know it has to do with the javascript that builds the datastring, but how to resolve this issue?</p>
<p> </p>
<p>var dataString = 'uri=' + uri + '&amp;block=' + block + '&amp;field=' + content;</p>
<p> </p>
<p>thanks! Scott</p>
]]></description><guid isPermaLink="false">7405</guid><pubDate>Sat, 17 Mar 2012 01:25:23 +0000</pubDate></item><item><title>WYSIWYG in DW CS 3</title><link>https://www.killersites.com/community/index.php?/topic/5976-wysiwyg-in-dw-cs-3/</link><description><![CDATA[
<p>In Stef's design view of DW CS3 in the CSS Layout Part 2 of the videos in the University section the WYSIWYG was correct; however, when I tried to draw the AP Div in design view, as soon as I got the rectangle that marks the borders of the AP Div the correct size and let up on the mouse button, the box ("container") changed to a narrow box, it's border made of dashes. It did not produce anything near to WYSIWYG. When I previewed my creation in the browser it was OK.</p>
<p>How can I get my design view to give me WYSIWYG as Stef did?</p>
<p> </p>
<p>Thanks,</p>
<p>Don</p>
]]></description><guid isPermaLink="false">5976</guid><pubDate>Sun, 14 Aug 2011 03:12:46 +0000</pubDate></item><item><title>Suggestions for new video tutorials?</title><link>https://www.killersites.com/community/index.php?/topic/5626-suggestions-for-new-video-tutorials/</link><description><![CDATA[
<p>Hi,</p>
<p> </p>
<p>Well we are about to start a new round of video tutorial creation and I was wondering if you all had any suggestions?</p>
<p> </p>
<p>Ben just finished the Building a CMS series and we have a CSS list and Navigation video coming out this week or next that does NOT use Dreamweaver. </p>
<p> </p>
<p>Some ideas:</p>
<p> </p>
<p>I am putting together a series on SEO that I should start recording this week. So far, I have 41 parts written up. </p>
<p> </p>
<p>I am now considering the following:</p>
<p> </p>
<p>- Beginners Illustrator.</p>
<p>- iPad and iPhone development for web designers.</p>
<p>- More wordpress based courses - say on plug-in creation?</p>
<p> </p>
<p>Any suggestions anyone?</p>
<p> </p>
<p>Stefan</p>
]]></description><guid isPermaLink="false">5626</guid><pubDate>Sun, 22 May 2011 17:37:38 +0000</pubDate></item><item><title>Baffled by Wordpress Theme From Scratch Video</title><link>https://www.killersites.com/community/index.php?/topic/6486-baffled-by-wordpress-theme-from-scratch-video/</link><description><![CDATA[
<p>Hi guys,</p>
<p> </p>
<p>I'm trying hard to follow on here but have no clue how we get from downloading wordpress to having it installed.  </p>
<p> </p>
<p>On The Setting up Wordpress Part 1 video, we seem to jump from downloading WP (at 38 seconds)to it magically being installed.  By 1.00 the instructor goes on to talk about the installed structure.  ???  I didn't see anything get installed.  One minute we were downloading then next he was deleting double wordpress files and renaming one.  </p>
<p> </p>
<p>Its then mentioned something about extracted all the files onto his file system.  Whats a file system?  A hard drive folder where we should instal too?  How do we instal??</p>
<p> </p>
<p>At 1:39 we are told "Now that we have Wordpress installed" (Downloaded yes, but not installed) and then we go onto MAMP.  </p>
<p> </p>
<p> </p>
<p>Could anyone go over this please.</p>
]]></description><guid isPermaLink="false">6486</guid><pubDate>Sat, 03 Dec 2011 17:02:30 +0000</pubDate></item><item><title>PreSale-Question/Feedback</title><link>https://www.killersites.com/community/index.php?/topic/6337-presale-questionfeedback/</link><description><![CDATA[
<p>Edit: Purchased Basic Membership.</p>
<p> </p>
<p>Thanks</p>
]]></description><guid isPermaLink="false">6337</guid><pubDate>Tue, 08 Nov 2011 10:56:56 +0000</pubDate></item><item><title>totals not coming out right</title><link>https://www.killersites.com/community/index.php?/topic/6185-totals-not-coming-out-right/</link><description><![CDATA[
<p>could you help me figure why it’s not displaying the shipping and total amount.  The values are always 0.  </p>
<p> </p>
<p> </p>
<p>shoppingcart.php</p>
<p>&lt;?php</p>
<p>class shoppingCart {</p>
<p>	protected $items = array();</p>
<p>	public function addItem($product_id)</p>
<p>	{</p>
<p>		if (array_key_exists($product_id , $this-&gt;items))</p>
<p>			$this-&gt;items[$product_id] = $this-&gt;items[$product_id] +1; </p>
<p>		else</p>
<p>			$this-&gt;items[$product_id] = 1; </p>
<p>	}</p>
<p>	public function GetItemCost($product_id)</p>
<p>	{</p>
<p>		$cost_string =	get_item_cost($product_id);</p>
<p>		$cost_float = "$cost_string" + 0; </p>
<p> </p>
<p>		return $cost_float * $this-&gt;GetItemQuantity($product_id); </p>
<p>	}</p>
<p>    public function getItems()</p>
<p>	{</p>
<p>		return array_keys($this-&gt;items); 	</p>
<p>	}</p>
<p>	public function GetItemQuantity($product_id)</p>
<p>	{</p>
<p>		return intval($this-&gt;items[$product_id]); 	</p>
<p>	}</p>
<p>	public function emptyCart()	</p>
<p>	 {</p>
<p>		$this-&gt;items = array(); </p>
<p>	 }</p>
<p>	public function GetSsalesTax()</p>
<p>       {	</p>
<p> 		$salesTax = .07; </p>
<p>		$subTotal=GetItemQuantity * $salesTax; </p>
<p>		return $subTotal;  </p>
<p>	  } 	</p>
<p> </p>
<p> 	public function GetShippingCost($quantity)</p>
<p>		{</p>
<p>			if ($quantity &lt;=2)</p>
<p>				return 10.95; </p>
<p>			else </p>
<p>				return 0; </p>
<p>		}</p>
<p>	public function ShippingCost()</p>
<p>	{</p>
<p>		$total = 0;</p>
<p>		foreach($this-&gt;items as $product_id -&gt;  $quantity)</p>
<p>			$total = $total + $this-&gt;GetItemQuantity($product_id); </p>
<p>			return  $total; </p>
<p>	}</p>
<p>/* public function GetTotal()</p>
<p> 	{</p>
<p> 	$salesTax = .07; </p>
<p>	return $this-&gt;GetSubTotal() + $salesTax; </p>
<p>	}*/</p>
<p>public function GetSubTotal()</p>
<p>	{</p>
<p>		$total = 0; </p>
<p>		foreach($this-&gt;items as $product_id =&gt;  $quantity)</p>
<p>		     $total = $total +  $this-&gt;GetItemCost($product_id); </p>
<p> </p>
<p>		return $total; </p>
<p>	}</p>
<p>public function GetSalesTax($unit_cost, $quantity)</p>
<p>      {</p>
<p> 	$salesTax = .07; </p>
<p>	return $unit_cost*$quantity*$salesTax;		</p>
<p>	  }</p>
<p>public function GetTotal()</p>
<p>	{</p>
<p>		return $this-&gt;GetSubTotal() + $this-&gt;GetShippingCost();</p>
<p>	}	</p>
<p>}</p>
<p> </p>
<p>templates.php</p>
<p>&lt;?php</p>
<p>function render_shopping_cart_row(ShoppingCart $shopping_cart , $product_id , $line_item_counter)</p>
<p>	{</p>
<p>	  $quantity  = $shopping_cart-&gt;GetItemQuantity($product_id);</p>
<p>	  $amount = $shopping_cart-&gt;GetItemCost($product_id); </p>
<p>	  $unit_cost = get_item_cost($product_id);</p>
<p> </p>
<p>	  $shipping_amount = $shopping_cart-&gt;GetShippingCost($quantity); </p>
<p>	  $salesTax  = $shopping_cart-&gt;GetSalesTax($unit_cost, $quantity);    </p>
<p>$output = "</p>
<p>	    &lt;tr&gt;  </p>
<p>		&lt;td&gt;  </p>
<p>        	$product_id</p>
<p>			&lt;br /&gt;</p>
<p>			Sales Tax:  $salesTax </p>
<p>        &lt;/td&gt;</p>
<p>		&lt;td&gt;   </p>
<p>            $quantity </p>
<p>        &lt;/td&gt;</p>
<p>		&lt;td&gt;</p>
<p>		&lt;/td&gt;</p>
<p>		&lt;td&gt;  </p>
<p> </p>
<p>        	$$amount</p>
<p>        &lt;/td&gt;            </p>
<p>    &lt;/tr&gt;";	</p>
<p>	return $output;</p>
<p>	}</p>
<p>function render_shopping_cart_shipping_row(ShoppingCart $shopping_cart)</p>
<p>	{</p>
<p>		return "</p>
<p>		&lt;tr&gt;  </p>
<p>			&lt;td&gt; </p>
<p>			&lt;/td&gt;  </p>
<p>			&lt;td&gt; </p>
<p>			Shipping:  </p>
<p>			&lt;/td&gt;  </p>
<p>			&lt;td&gt; </p>
<p>			'$.$shopping_cart-&gt;GetShippingCost().'    </p>
<p>			&lt;/td&gt;  	</p>
<p>		&lt;/tr&gt;  				</p>
<p>		"; </p>
<p>	}</p>
<p>function render_shopping_cart_total_row(ShoppingCart $shopping_cart)</p>
<p>	{</p>
<p>		return "</p>
<p>		&lt;tr&gt;  </p>
<p>			&lt;td&gt; </p>
<p>			&lt;/td&gt;  </p>
<p>			&lt;td&gt; </p>
<p>			Total:  </p>
<p>			&lt;/td&gt;  </p>
<p>			&lt;td&gt; </p>
<p>			'.$shopping_cart-&gt;GetTotal().'    </p>
<p>			&lt;/td&gt; </p>
<p>		&lt;/tr&gt;  			 					</p>
<p>		"; </p>
<p>	}	</p>
<p>/*video  11</p>
<p>function render_paypal_checkout(ShoppingCart $shopping_cart)</p>
<p>{</p>
<p>return "</p>
<p>&lt;form action='".PAYPAL_FORM_URL."' method='post'&gt;  </p>
<p>	&lt;input type="hidden" name="business" value=" " /&gt;  </p>
<p>	&lt;input type="hidden" name="cmd" value="_cart" /&gt;  </p>
<p>	&lt;input type="hidden" name="upload" value="1" /&gt;  </p>
<p>	&lt;input type="hidden" name="currency_code" value="USD" /&gt;          </p>
<p>	&lt;input type="hidden" name="LC"  value="US"  /&gt;  </p>
<p> </p>
<p>   " . render_shopping_cart($shopping_cart) ."</p>
<p>   &lt;input type='image' name='submit' src='https://www.paypal.com/en_US/i/btn/btn_buynow_LG.gif' alt=' pay online with PayPal '&gt;</p>
<p> </p>
<p>&lt;/form&gt;";</p>
<p>}</p>
<p>&lt;form action="<a href="https://www.sandbox.paypal.com/cgi-bin/webscr" rel="external nofollow">https://www.sandbox.paypal.com/cgi-bin/webscr"</a> method="post"&gt;</p>
<p>&lt;input type="hidden" name="cmd" value="_s-xclick"&gt;</p>
<p>&lt;input type="hidden" name="hosted_button_id" value="M8GEXMCBNPSPC"&gt;</p>
<p>&lt;input type="image" src="<a href="https://www.sandbox.paypal.com/en_US/i/btn/btn_buynowCC_LG.gif" rel="external nofollow">https://www.sandbox.paypal.com/en_US/i/btn/btn_buynowCC_LG.gif"</a> border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"&gt;</p>
<p>&lt;img alt="" border="0" src="<a href="https://www.sandbox.paypal.com/en_US/i/scr/pixel.gif" rel="external nofollow">https://www.sandbox.paypal.com/en_US/i/scr/pixel.gif"</a> width="1" height="1"&gt;</p>
<p>&lt;/form&gt;*/</p>
<p> </p>
<p>?&gt;</p>
<p> </p>
<p>checkout.php</p>
<p>&lt;?php</p>
<p>require_once('functions.php');</p>
<p>require_once('templates.php');</p>
<p>?&gt;</p>
<p>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" rel="external nofollow">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;</a></p>
<p>&lt;html xmlns="<a href="http://www.w3.org/1999/xhtml" rel="external nofollow">http://www.w3.org/1999/xhtml"&gt;</a></p>
<p>&lt;head&gt;</p>
<p>&lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;</p>
<p>&lt;title&gt;Untitled Document&lt;/title&gt;</p>
<p>&lt;link href="doggyTreats.css" rel="stylesheet" type="text/css" /&gt;</p>
<p>&lt;style  type="text/css"&gt;  </p>
<p>.shoppingCart { </p>
<p>	width:  600px; </p>
<p>	margin:  0;  </p>
<p>	}</p>
<p>&lt;/style&gt;</p>
<p>&lt;/head&gt;</p>
<p> </p>
<p>&lt;body&gt;</p>
<p>&lt;?php</p>
<p>$shopping_cart = get_shopping_cart();</p>
<p>if (isset($_GET["id"]))</p>
<p>	{</p>
<p>		$product_id = htmlspecialchars($_GET["id"]);</p>
<p>	}</p>
<p> </p>
<p> 	if (product_exist($product_id))</p>
<p>{</p>
<p>	$shopping_cart-&gt;addItem($product_id);</p>
<p>}</p>
<p>?&gt; </p>
<p>&lt;table class="shoppingCart"&gt;  </p>
<p>	&lt;tr&gt;  </p>
<p>		&lt;th&gt;</p>
<p>       		Product ID </p>
<p>        &lt;/th&gt;</p>
<p>       	&lt;th&gt; </p>
<p>        	quantity </p>
<p>        &lt;/th&gt;</p>
<p>		&lt;th&gt; </p>
<p>        	Amount</p>
<p>        &lt;/th&gt;    </p>
<p>    &lt;/tr&gt;</p>
<p>&lt;?php</p>
<p>	$line_item_counter = 1; </p>
<p> </p>
<p>	foreach ($shopping_cart-&gt;getItems() as $product_id)</p>
<p>	{</p>
<p>		echo render_shopping_cart_row($shopping_cart, $product_id, $line_item_counter);</p>
<p>		$line_item_counter++;</p>
<p>	}</p>
<p> </p>
<p>	echo render_shopping_cart_shipping_row($shopping_cart); </p>
<p>	echo render_shopping_cart_total_row($shopping_cart);     </p>
<p> </p>
<p> </p>
<p>?&gt;</p>
<p>&lt;/table&gt;</p>
<p>&lt;?php</p>
<p>set_shopping_cart($shopping_cart); </p>
<p>?&gt; </p>
<p> </p>
<p>&lt;/body&gt;</p>
<p>&lt;/html&gt;</p>
]]></description><guid isPermaLink="false">6185</guid><pubDate>Tue, 04 Oct 2011 03:23:14 +0000</pubDate></item><item><title>How to move selected text with tab button</title><link>https://www.killersites.com/community/index.php?/topic/6068-how-to-move-selected-text-with-tab-button/</link><description><![CDATA[
<p>Hi guys,</p>
<p> </p>
<p>This is probably a newbie question, but I couldn't find it on Google, so I'll try here. I've been watching lots of tutorials here lately and many times I see the person of the tutorial select some text in their text editor, and then move it with tab. So I want to do that too, cuz it would speed up my workflow a lot. I just can't figure it out. It's not command-tab, or command-shift tab, or all the other buttons. </p>
<p> </p>
<p>Can someone please help me out?</p>
<p> </p>
<p>I am using mac os x lion with BBEdit.</p>
]]></description><guid isPermaLink="false">6068</guid><pubDate>Wed, 07 Sep 2011 18:39:26 +0000</pubDate></item><item><title>price not matching quantity</title><link>https://www.killersites.com/community/index.php?/topic/6002-price-not-matching-quantity/</link><description><![CDATA[
<p>I hesitated posting this because most of my errors are stupid mistakes on my end.  however, I'm doing the shopping cart video series and I'm stuck at the very end of video  8.  I have watched it three or four times and for some reason the quantity isn't matching up with the price.  here's the code:  </p>
<p> </p>
<p>shoppingcart.php</p>
<p>&lt;?php</p>
<p>class shoppingCart {</p>
<p>	protected $items = array();</p>
<p>	public function addItem($product_id)</p>
<p>	{</p>
<p>		if (array_key_exists($product_id , $this-&gt;items))</p>
<p>			$this-&gt;items[$product_id] = ($this-&gt;items[$product_id] +1); </p>
<p>		else</p>
<p>			$this-&gt;items[$product_id] = 1; </p>
<p>	}</p>
<p>	public function GetItemCost($product_id)</p>
<p>	{</p>
<p>		$cost_string =	get_item_cost($product_id);</p>
<p>		$cost_float = "$cost_string" + 0; </p>
<p> </p>
<p>		return $cost_float * $this-&gt;GetItemQuantity[$product_id]; </p>
<p>	}</p>
<p>    public function getItems()</p>
<p>	{</p>
<p>		return array_keys($this-&gt;items); 	</p>
<p>	}</p>
<p>	public function GetItemQuantity($product_id)</p>
<p>	{</p>
<p>		return intval($this-&gt;items[$product_id]); 	</p>
<p>	}</p>
<p>	public function emptyCart()	</p>
<p>	 {</p>
<p>		$this-&gt;items = array(); </p>
<p>	 }</p>
<p> }</p>
<p> </p>
<p>functions.php</p>
<p>&lt;?php</p>
<p>require_once('classes/shoppingCart.php');</p>
<p>/**DEFINE GLOBALS**/</p>
<p>define('STORE_XML_FILE' , 'catalog.xml');</p>
<p> </p>
<p>/*FUNCTIONS*/</p>
<p>session_start(); </p>
<p> </p>
<p>function render_products_from_xml()</p>
<p>{</p>
<p>$output = '.&lt;table class="product"&gt;</p>
<p>			&lt;tr&gt;';</p>
<p>foreach(get_xml_catalog() as $product)</p>
<p>    {</p>
<p>    $output .=' </p>
<p>		&lt;td class="product"&gt;</p>
<p>					&lt;h2&gt;'.$product-&gt;title.'&lt;/h2&gt;</p>
<p>					&lt;div&gt;</p>
<p>						&lt;img src="'.$product-&gt;img. '"  /&gt; </p>
<p>						&lt;span&gt;</p>
<p>							'.$product-&gt;description.'</p>
<p>						&lt;/span&gt;</p>
<p>					&lt;/div&gt;</p>
<p>					&lt;div class="price"&gt;</p>
<p>						'.$product-&gt;price.'</p>
<p>					&lt;/div&gt;</p>
<p>					&lt;div class="addToCart"&gt;</p>
<p>						&lt;a href="checkOut.php?id='.$product-&gt;id.'"&gt;add to cart&lt;/a&gt;</p>
<p> </p>
<p>					&lt;/div&gt;</p>
<p>					&lt;/td&gt;';</p>
<p>    }</p>
<p>	$output .='</p>
<p>		&lt;/tr&gt;</p>
<p>	&lt;/table&gt;</p>
<p> </p>
<p>	';</p>
<p>echo $output;</p>
<p>}</p>
<p> </p>
<p>function get_xml_catalog() </p>
<p>{</p>
<p>	return new SimpleXMLElement(file_get_contents(STORE_XML_FILE));</p>
<p>}</p>
<p> </p>
<p>function get_shopping_cart()</p>
<p>{</p>
<p> </p>
<p>if (! isset($_SESSION['cart'])) </p>
<p>	return new shoppingCart();  //starts new cart</p>
<p>else</p>
<p>	return unserialize($_SESSION['cart']); </p>
<p>	}</p>
<p> </p>
<p>function set_shopping_cart($cart)</p>
<p>{</p>
<p>	$_SESSION['cart'] = serialize($cart); 	</p>
<p>}</p>
<p> </p>
<p>function product_exist($product_id)</p>
<p>{</p>
<p>	foreach(get_xml_catalog() as $product)</p>
<p>	{</p>
<p>		if ($product-&gt;id == $product_id)</p>
<p>			return true; </p>
<p>	}</p>
<p>	return false; </p>
<p>}</p>
<p>	function get_item_cost($product_id)</p>
<p>		{</p>
<p>		foreach(get_xml_catalog() as $product)</p>
<p>		{</p>
<p>			if ($product_id == $product-&gt;id)</p>
<p>				return $product-&gt;price; </p>
<p>		}</p>
<p>		throw new Exception('item not found' . $product_id);</p>
<p>		}</p>
<p>?&gt;</p>
<p> </p>
<p>checkout.php</p>
<p>&lt;?php</p>
<p>require_once('functions.php')</p>
<p>?&gt;</p>
<p>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" rel="external nofollow">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;</a></p>
<p>&lt;html xmlns="<a href="http://www.w3.org/1999/xhtml" rel="external nofollow">http://www.w3.org/1999/xhtml"&gt;</a></p>
<p>&lt;head&gt;</p>
<p>&lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;</p>
<p>&lt;title&gt;Untitled Document&lt;/title&gt;</p>
<p>&lt;/head&gt;</p>
<p> </p>
<p>&lt;body&gt;</p>
<p>&lt;?php</p>
<p>$shopping_cart = get_shopping_cart();</p>
<p>if (isset($_GET["id"]))</p>
<p>	{</p>
<p>		$product_id = htmlspecialchars($_GET["id"]);</p>
<p>	}</p>
<p> </p>
<p> 	if (product_exist($product_id))</p>
<p>{</p>
<p>	$shopping_cart-&gt;addItem($product_id);</p>
<p>}</p>
<p>?&gt; </p>
<p>&lt;table class="shoppingCart"&gt;  </p>
<p>	&lt;tr&gt;  </p>
<p>		&lt;th&gt;</p>
<p>       		Product ID </p>
<p>        &lt;/th&gt;</p>
<p>       	&lt;th&gt; </p>
<p>        	quantity </p>
<p>        &lt;/th&gt;</p>
<p>		&lt;th&gt; </p>
<p>        	Amount</p>
<p>        &lt;/th&gt;    </p>
<p>    &lt;/tr&gt;</p>
<p>&lt;?php</p>
<p>	$line_item_counter = 1; </p>
<p> </p>
<p>	foreach ($shopping_cart-&gt;getItems() as $product_id)</p>
<p>	{</p>
<p>		echo render_shopping_cart_row($shopping_cart, $product_id, $line_item_counter);</p>
<p>		$line_item_counter++;</p>
<p>	}</p>
<p> </p>
<p>function render_shopping_cart_row(ShoppingCart $shopping_cart , $product_id , $line_item_counter)</p>
<p>	{</p>
<p>		$quantity  = $shopping_cart-&gt;GetItemQuantity($product_id);</p>
<p>	  $amount = $shopping_cart-&gt;GetItemCost($product_id); </p>
<p>	  $unit_cost = get_item_cost($product_id);</p>
<p>	$output = "</p>
<p>	    &lt;tr&gt;  </p>
<p>		&lt;td&gt;  </p>
<p>        	$product_id</p>
<p>        &lt;/td&gt;</p>
<p>		&lt;td&gt;   </p>
<p>            $quantity </p>
<p>        &lt;/td&gt;</p>
<p>		&lt;td&gt;  </p>
<p>        	$$amount</p>
<p>        &lt;/td&gt;            </p>
<p>    &lt;/tr&gt;";	</p>
<p>	return $output;</p>
<p>	}</p>
<p>?&gt;</p>
<p> </p>
<p> </p>
<p>&lt;/table&gt;</p>
<p>&lt;?php</p>
<p>set_shopping_cart($shopping_cart); </p>
<p>?&gt; </p>
<p>&lt;/body&gt;</p>
<p>&lt;/html&gt;</p>
]]></description><guid isPermaLink="false">6002</guid><pubDate>Wed, 17 Aug 2011 05:51:29 +0000</pubDate></item><item><title>spec jobs</title><link>https://www.killersites.com/community/index.php?/topic/5985-spec-jobs/</link><description><![CDATA[
<p>Good afternoon all,</p>
<p> </p>
<p>Today I saw a job opening for a front end web developer and I know I am not skilled enough yet to apply. That said do you think it possible to create spec assignments to complete that would be practical exercises and help our portfolio? Something that required HTML, css, javascript,php, maybe a little photoshop, and whatever else in your minds eye would say this is a viable candidate for entry level web design? Or whatever criteria you can count on your fingers, you need to be able to do this, this, this. And if you can do this, it proves you know enough to seek employment. Thoughts</p>
]]></description><guid isPermaLink="false">5985</guid><pubDate>Mon, 15 Aug 2011 19:05:53 +0000</pubDate></item></channel></rss>
