Welcome Guest, Not a member yet? Register   Sign In
not able to update query by id
#4

(This post was last modified: 09-29-2020, 11:20 AM by InsiteFX.)

Put the id in a hidden input form field then you can grab it from the post array.

PHP Code:
<input type="hidden" name="user_id" value="<?= $user_id; ?>"

Just pass in the the user id:

PHP Code:
$data['user_id'] = $user_id
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
not able to update query by id - by skghosh - 09-28-2020, 07:27 AM
RE: not able to update query by id - by skghosh - 09-29-2020, 04:44 AM
RE: not able to update query by id - by InsiteFX - 09-29-2020, 11:15 AM
RE: not able to update query by id - by skghosh - 09-30-2020, 01:18 AM



Theme © iAndrew 2016 - Forum software by © MyBB