Welcome Guest, Not a member yet? Register   Sign In
Unable to throw my hidden input to Controller
#2

[eluser]jblack199[/eluser]
to me it looks like some html formatting issues...

in the code, it seems to all start at this line: <a >user_id."' class='"; which is an apparent syntax error. as in you're in the end missing a " because of the improper HTML.

also your else statement is missing a { giving you an improper else clause... and the HTML at:


echo "'>&lt;input type='hidden' name='role' value='".$item-&gt;data_id."'/></a></td>

is also wrong, this one i dont know what you're trying to do with that first echo, and the closing link tank after the hidden input so i cant give you any info to fix that.

despite all that, i'm sure someone at some point will say: tables ewww so lets get that one out of the way now.


Messages In This Thread
Unable to throw my hidden input to Controller - by El Forum - 08-10-2011, 01:45 AM
Unable to throw my hidden input to Controller - by El Forum - 08-10-2011, 02:26 AM
Unable to throw my hidden input to Controller - by El Forum - 08-10-2011, 02:38 AM
Unable to throw my hidden input to Controller - by El Forum - 08-10-2011, 06:59 AM
Unable to throw my hidden input to Controller - by El Forum - 08-10-2011, 08:27 AM
Unable to throw my hidden input to Controller - by El Forum - 08-10-2011, 08:48 AM



Theme © iAndrew 2016 - Forum software by © MyBB