Posts

PHP unidentified index when getting SQL data

Image
0 Good Day, I am tasked to have an original and discounted price in our website, using PHP. Previously the original price is already present, now I am trying to add a second price by adding variables in the customer management system. The problem is that I get Notice: Undefined index: even when I add a discounted price value alongside the original price. I added a new column for the new discounted price option in my phpmyadmin database but I still get that index error. Any help would be appreciated and ill explain the situation with codes and screenshots. price error phpmyadmin columns codes with original price and discounted price (the "d_price" is the one with unidentified index) 1. <div class="col-md-12"><hr></div> <div class="col-...