[Resolved] [Plugin: Shortcode Exec PHP] Passing parameter with shortcode
Just installed the plugin and using it with php written by someone else – my php knowledge is very limited, I know enough just to tweak it.
The code is working fine when I set a variable, e.g. $t = 125; at the top of the php block. (The variable is used to get data from a table – which it is doing fine)
But I want to pass 125 (or other values) in as a parameter. I would appreciate advice on how to pass it in – and anything I need to add to the php block so $t uses it.
Thanks very much.
- The topic ‘[Resolved] [Plugin: Shortcode Exec PHP] Passing parameter with shortcode’ is closed to new replies.