从meta_key中具有相同行的meta_value返回数据
请参阅此处的表图:
我只能看到用户的数据,但是我想看到每个在Account_parent中具有相同数字的人
当前代码是:
if(is_user_logged_in()){
$user_ID = get_current_user_id();
$get_designs_list = get_user_meta($user_ID, 'designs_save_user_list', true);
See image of the table here:
[1]: https://i.sstatic.net/KjWIQ.png
How do I show data from 'designs_save_user_list'
of all user_id that contain 'account_parent' and with the same number in the meta_value?
I'm only able to see the data of a user, but I want to see everyone who has the same number in the account_parent
the current code is:
if(is_user_logged_in()){
$user_ID = get_current_user_id();
$get_designs_list = get_user_meta($user_ID, 'designs_save_user_list', true);
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
检查此代码是否适合您
check this code if its work for you