N
NetwiseHosting
- Original Poster
- #1
Hi All,
A bit of a tricky one for you! This one I'm quite happy to admit is a little over my head, so your thoughts/advice would be much appreciated.
In short, we have a Smarty PHP Variable displaying a value on a web page e.g. {$variable_name} which displays an IP Address in the standard format e.g. 123.456.789.0
This variable can change depending on the client to be a single IP Address, as per the above, or a string of addresses separated by commas e.g. 123.456.789.0, 123.456.789.0, 123.456.789.0
We need to display these addresses in a dropdown/select form list, but I am at a loss on how to manipulate the Smarty PHP output to split into multiple values.
I hope the above makes sense, and thank you in advance for your time guys!
All the best,
Matthew
A bit of a tricky one for you! This one I'm quite happy to admit is a little over my head, so your thoughts/advice would be much appreciated.
In short, we have a Smarty PHP Variable displaying a value on a web page e.g. {$variable_name} which displays an IP Address in the standard format e.g. 123.456.789.0
This variable can change depending on the client to be a single IP Address, as per the above, or a string of addresses separated by commas e.g. 123.456.789.0, 123.456.789.0, 123.456.789.0
We need to display these addresses in a dropdown/select form list, but I am at a loss on how to manipulate the Smarty PHP output to split into multiple values.
I hope the above makes sense, and thank you in advance for your time guys!
All the best,
Matthew