RiiGGS23 Posted November 16, 2013 Share Posted November 16, 2013 (edited) 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 Edited November 16, 2013 by RiiGGS23 Quote Link to comment Share on other sites More sharing options...
Solution oaass Posted November 16, 2013 Solution 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 Quote Link to comment Share on other sites More sharing options...
RiiGGS23 Posted November 18, 2013 Author Share Posted November 18, 2013 Thank you so much ! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.