Welcome Guest, Not a member yet? Register   Sign In
How not to get selected data
#6

(07-06-2017, 10:12 AM)PaulD Wrote: You could always just unset the item:

PHP Code:
$result $user_query->row_array();
unset(
$result['user_password']);
return 
$result

However, I would prefer to just select the columns I need rather than do the above.

Thanks for that.
There's only one rule - please don't tell anyone to go and read the manual.  Sometimes the manual just SUCKS!
Reply


Messages In This Thread
How not to get selected data - by wolfgang1983 - 07-06-2017, 02:56 AM
RE: How not to get selected data - by InsiteFX - 07-06-2017, 03:07 AM
RE: How not to get selected data - by rtenny - 07-06-2017, 04:31 AM
RE: How not to get selected data - by PaulD - 07-06-2017, 10:12 AM
RE: How not to get selected data - by wolfgang1983 - 07-06-2017, 06:19 PM
RE: How not to get selected data - by karman - 07-06-2017, 11:31 PM



Theme © iAndrew 2016 - Forum software by © MyBB