Jump to content
Killersites Community

All Activity

This stream auto-updates     

  1. Today
  2. I feel like an idiot. I put the class php files in the C:\MAMP\htdocs. When I show them in crome I see all the code. I do not know what I am doing wrong.
  3. Yesterday
  4. LSW

    Drupal Users need to update now.

    Drupal Releases Core CMS Updates to Patch Several Vulnerabilities https://thehackernews.com/2019/04/drupal-security-update.html
  5. Hello everyone, My name is Jenni and I am a web designer. I always look for the discussion related to web development and designing technology. Hope to get great discussion over here!!!
  6. Last week
  7. Rubinelezi


    Hello! I finished JS course on Studio Web and im was going throught some beginers JS projects on youtube, i was trying my self if i could do them alone and yes i did the projects (which means that the Stef course is amaizing ) but the thing is that i wrote them on ES5 and the author wrote them on ES6. I understood most of the things he wrote but in some cases i lost it. The way he structured the code on ES6 was differnet. What do you think should i learn some ES6, it looks like everyoe is using ES6 now, and is it that hard to learn are thee to many diferences?
  8. administrator

    New To The Community

  9. The PDF contains the information you are looking for. Contact me directly if you have problems finding things in there: stefan at killersites.com
  10. administrator

    Can't find the Quiz

    Email me at stefan at studioweb.com
  11. I am Xabi Alonso new to the forum and very much in love with the forum Hoping to make some new friends here. Thank You
  12. Hi Stef, I just today purchased your Complete Freelancer course but when i download the zip file it only contains the audio files plus the course outline. The folder is missing all video files plus the templates. Please can you help me with this as i am eager to begin your course. Many Thanks, Ehi Odigie
  13. LSW

    The Issue of Net Neutrality

    Mitch McConnell declares net neutrality bill "dead on arrival" in the Senate https://www.salon.com/2019/04/10/mitch-mcconnell-declares-net-neutrality-bill-dead-on-arrival-in-the-senate/
  14. Hello, After following along and successfully completing Ben's tutorial of the Online Shopping Cart, I figured I would try and make my own. The first major problem I am having is being able to display my products from my database in my index.php page. The goal is to actually see the images of each product displayed in index.php (like in the tutorial). This would then enable me to add my products to the cart.php page. I've checked the database connection and it does exist. My guess would be that I am using the wrong syntax to display my products in the "fetch_all_products()" method. *** M_PRODUCTS.PHP *** <?php class Products { private $Conn; private $db_table = "toys"; function __construct() { // here we're making sure that the connection from $conn in "init.php" is transferred // into our own private $conn property for usage in this object global $Conn; $this->Conn = $Conn; } // fetches and displays all products from db public function fetch_all_products($id = NULL) { if ($id = NULL) { $data = "<li>"; if ($result = $this->conn->query("SELECT * FROM " . $this->db_table . " ORDER BY name")) { if ($result->num_rows > 0) { while ($row = $result->fetch_array()) { $data .= array( "id" => $row["product_id"], "name" => $row["name"], "price" => $row["price"], "image" => $row["image"] ); } $data .= "</li>"; return $data; } else { return "<h1>Oops... Something went wrong!</h1>"; } } } } } *** INIT.PHP *** <?php // db connection $host = "localhost"; $user = "root"; $pass = "root"; $db = "cart"; $Conn = new mysqli($host, $user, $pass, $db); // error reporting ini_set("display_errors", 1); mysqli_report(MYSQLI_REPORT_ERROR); // constants define("shop_name", "Tremendous Toys"); define("main_path", "localhost/web_apps/shopping_cart/"); define("image_path", "localhost/web_apps/shopping_cart/images/"); // includes include("models/m_shopping_cart.php"); include("models/m_products.php"); // object integrations $Shopping_Cart = new Shopping_Cart(); $Products = new Products(); // session initialisation session_start(); *** INDEX.PHP *** <?php include("init.php") ?> <link rel="stylesheet" href="visual/style.css" type="text/css"> <body> <div id="whitespace"> <h1><?php echo shop_name ?></h1> <?php $Products->fetch_all_products(); ?> </div> </body>
  15. NickBradley

    Can't find the Quiz

    Hey Stef, I also bought the Python course recently and would like access to the quizzing as well. Email is nicolas.bradley@gmail.com Thanks
  16. Earlier
  17. LSW

    Current Threats

    Popular Video Editing Software Website Hacked to Spread Banking Trojan https://thehackernews.com/2019/04/free-video-editing-malware.html
  18. crocodilehun

    CSS3 Foundations-Chapter 5-Lesson 4

    an update.. i've done this: #navigation ul li{ list-style-type: none; line-height: 200% and now it's working. in the very next video you explained this for another purpose but i haven't seen in till now. Thanks
  19. crocodilehun

    CSS3 Foundations-Chapter 5-Lesson 4

    Thanks, but... i've done this at the end of the stylesheet: #navlist { list-style-type: none; line-height: 200%; } and then included it into .html file: <ul id="navlist"> <li><a href=#>Home</a></li> <li><a href=#>Store</a></li> <li><a href=#>Blog</a></li> <li><a href=#>Contact us</a></li> </ul> and it still didn't changed the list style. i've even done this: <ul style="list-style-type:none;"> didn't changed it either.
  20. administrator

    CSS3 Foundations-Chapter 5-Lesson 4

    Just target the navlist ID in your CSS code. No need to specify the tags. Be sure to use the ID selector:
  21. crocodilehun

    CSS3 Foundations-Chapter 5-Lesson 4

    Hi. I this lession you are talking about changing your UL buttons in the navigation bar so that they look like circles and then you set your list-style-type for them to "none". based on that, i've tried to do this: in structure-ch5.css add ul li .navlist { list-style-type: decimal; line-height: 200%; } and then i've tried to add this class in the <nav>: <nav id="navigation"> <h2>The Main navigation</h2> <ul class="navlist"> <li><a href=#>Home</a></li> <li><a href=#>Store</a></li> <li><a href=#>Blog</a></li> <li><a href=#>Contact us</a></li> </ul> </nav> and it does not work, nothing happens. What am I doing wrong? Thanks
  22. LSW

    Adobe Patches:

    Adobe Releases Security Patches for Flash, Acrobat Reader, Other Products https://thehackernews.com/2019/04/adobe-security-updates.html
  23. LSW

    Patch Tuesday Updates (Windows)

    Microsoft Releases April 2019 Security Updates — Two Flaws Under Active Attack https://thehackernews.com/2019/04/microsoft-patch-updates.html
  24. Use SITE:Your domain and the Google it and then you can find out how many pages are indexed.
  25. LSW

    Current Threats

    Researcher Reveals Multiple Flaws in Verizon Fios Routers — PoC Released https://thehackernews.com/2019/04/verizon-wifi-router-security.html
  26. Microsoft Releases First Preview Builds of Chromium-based Edge Browser https://thehackernews.com/2019/04/chromium-edge-browser.html
  27. administrator

    Questions about the Python 3 Course Downloads

    To prevent abuse. Just let me know if ever you run out.
  28. Rubinelezi

    What should i do next?

    I really like PHP and backend developing i think i am not a good desiger so more like a backend guy but i think i should know the basics of front end and learning a framework nowadays seems like a must this is the reason why i want to learn more of JS. Im thinking of following this path...spend some hours on vue and maybe the jQuery course (provided by your course on the project panel) just to understand JS more and to know what can i do with them and go deeper if i need them on future. Than im definitely moving to PHP.
  1. Load more activity