We want to spend less time answering. If you want to get a solution to your problem with php code as quickly as possible, you must comply with the following mandatory requirements:
1. Insert php code using special shortcodes. See screenshots below:
Your code after formatting should look like...