Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 07/17/2023 in all areas

  1. Plus, if you are accessing $_SESSION, then you need session_start() at the top of the script. Also errors in the query You are trying to match the value in column myid with the string value 'myid' You are trying to order the results by the string value 'id'
    1 point
  2. What will your code do if there aren't any rows from the query? (I know the answer - I want you to read through it and think about what will happen)
    1 point
  3. Of course it showed TVs in each category - that's what you selected. Why is that wrong? - - - I would advise you add a category table and store the catgory id in the product records and not repeat the name in every product of that type. +-------------+ +-----------------+ | product | | category | +-------------+ +-----------------+ | id | +----| id | | name | | | cat_name | | cat_id |>--+ | cat_image | | code | | cat_price | | price | +-----------------+ | image | +-------------+
    1 point
This leaderboard is set to New York/GMT-05:00
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.