I don't believe I understand what you're trying to do here.
The input URL should be the URL to the Serialized PHP Array file, which needs to be a 2D-array, where the parent level is an indexed array, and the second level is an associative array.
%CURRENT_USER_ID% placeholder can be used as a filtering value, but not through the source URL.
Hello, I will try to explain myself better, I need to show the data of a mysql table but only of the logged in wordpress user, in no case should a user be able to see the data of another user ...
My intention was that the data source of the table is already filtered, if I could pass to the Input data source the parameter GET% CURRENT_USER_ID% would be ideal, how else could I do it ??
I attach some screenshots, I hope to explain myself correctly, thank you very much.
Hello, I am trying to generate content for the table using PHP, how can I send user information to the php script? I tried
Input file path or URL
dossiers.php?user_id=%CURRENT_USER_ID%
but I can't get the variable in the php script using $_GET ["user_id"]
but it doesn't work, can you help me?
Hello Jose
I don't believe I understand what you're trying to do here.
The input URL should be the URL to the Serialized PHP Array file, which needs to be a 2D-array, where the parent level is an indexed array, and the second level is an associative array.
%CURRENT_USER_ID% placeholder can be used as a filtering value, but not through the source URL.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hello, I will try to explain myself better, I need to show the data of a mysql table but only of the logged in wordpress user, in no case should a user be able to see the data of another user ...
My intention was that the data source of the table is already filtered, if I could pass to the Input data source the parameter GET% CURRENT_USER_ID% would be ideal, how else could I do it ??
I attach some screenshots, I hope to explain myself correctly, thank you very much.
Hello, I think I have already found another way, sorry for the inconvenience a greeting.
Hello Jose
Great news! Thanks for letting me know you found another way.
No inconvenience whatsoever.
If you have any further questions or issues, please feel free to open a new ticket, and we'll gladly help.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables