How do I call shortcode {var: total} in custom code as $this -> .......?
Forums
shortcodes
Thank you very much for the instructions, sometimes it's hard to find.
Please ask for advice on how to read the id of a row in the database table in php.
in shortcoces it's {var: save_data3.aid}, but I don't know how in php ($ this -> ....). I tried $ this-> get ("save_data3.aid"); (from https://www.chronoengine.com/forums/posts/t104088/how-to-access-var-array-in-php-after-successfully-saved-to-db), but it is not working.
Please ask for advice on how to read the id of a row in the database table in php.
in shortcoces it's {var: save_data3.aid}, but I don't know how in php ($ this -> ....). I tried $ this-> get ("save_data3.aid"); (from https://www.chronoengine.com/forums/posts/t104088/how-to-access-var-array-in-php-after-successfully-saved-to-db), but it is not working.
$this->get('save_data3.aid');That's definitely it. What does your debug say? The return from the save data action?
I am very sorry, my fault.
I had the code by mistake before writing it to the database and therefore returned NULL 😲😲😲😲
I had the code by mistake before writing it to the database and therefore returned NULL 😲😲😲😲
This topic is locked and no more replies can be posted.