RiiGGS23 Posted November 16, 2013 Share Posted November 16, 2013 Hello So im working on a PHP page where im able to add and view a table in mySQL through a browser ive completed that and its all working perfectly, the problem started when i created a page where you can edit entrys in the table I get an unidentified index error for car_id ive been told that i must have the same variable typed diffrently but ive been through my code and cant find the issue. p.s. im still learning PHP Link to comment https://forums.phpfreaks.com/topic/283955-unidentified-index-help/ Share on other sites More sharing options...
oaass Posted November 16, 2013 Share Posted November 16, 2013 You have $_GET['edit'] holding the car_id value when selecting but then when updating you have $_GET['car_id']. From what I can see these two needs to be the same Link to comment https://forums.phpfreaks.com/topic/283955-unidentified-index-help/#findComment-1458528 Share on other sites More sharing options...
RiiGGS23 Posted November 18, 2013 Author Share Posted November 18, 2013 Thank you so much ! Link to comment https://forums.phpfreaks.com/topic/283955-unidentified-index-help/#findComment-1458719 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.