JSwann Posted August 22, 2018 Share Posted August 22, 2018 (edited) Hi all, I currently have a table listed, with one of the rows being hyperlinked and linking to an input form, should be autopopulated from the code (ID or other unique identifier) of the row, however, when clicking the link the form does not load. I will insert relevant code to this thread and if anyone would be able to shed some light on this that would be great. NOTE: SQL code has already been tested using PHPMyAdmin and works fine. Although, it may need changed to help with this issue - I'm not quite sure. Please see screenshots for relevant code. Edited August 22, 2018 by JSwann Code did not show Quote Link to comment https://forums.phpfreaks.com/topic/307629-phphtml-input-form-not-populating/ Share on other sites More sharing options...
requinix Posted August 22, 2018 Share Posted August 22, 2018 I can't tell where countCode is coming from. Are you sure that's supposed to match the country name? Quote Link to comment https://forums.phpfreaks.com/topic/307629-phphtml-input-form-not-populating/#findComment-1560435 Share on other sites More sharing options...
ginerjm Posted August 22, 2018 Share Posted August 22, 2018 Would be a hell of a lot easier if one posted the code rather than a screenshow with black background and tiny print...... Quote Link to comment https://forums.phpfreaks.com/topic/307629-phphtml-input-form-not-populating/#findComment-1560436 Share on other sites More sharing options...
benanamen Posted August 22, 2018 Share Posted August 22, 2018 Pictures are for hanging on the wall. Post your code and use the code tags. Quote Link to comment https://forums.phpfreaks.com/topic/307629-phphtml-input-form-not-populating/#findComment-1560437 Share on other sites More sharing options...
JSwann Posted August 22, 2018 Author Share Posted August 22, 2018 Solved. Quote Link to comment https://forums.phpfreaks.com/topic/307629-phphtml-input-form-not-populating/#findComment-1560438 Share on other sites More sharing options...
JSwann Posted August 22, 2018 Author Share Posted August 22, 2018 Thanks anyways guys. Went wrong by naming a variable wrong within my associative array -.- Quote Link to comment https://forums.phpfreaks.com/topic/307629-phphtml-input-form-not-populating/#findComment-1560439 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.