• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How not to get selected data

#5
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.
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 karman - 07-06-2017, 11:31 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.