not really a php guy, but have a question. I'm wanting to take the following statement
$_POST['subject'] = $_POST['post_prefix'] . ' ' . $_POST['subject'];
I would like the
$_POST['post_prefix']
part to be within a span class so I can add some css styling to it.
So it ends up as something like
<span class="$_POST['post_prefix']">$_POST['post_prefix']</span>
I tried a few methods on here via search, but phpstorm keeps giving me errors all over the place about semicolons. So thought I'd ask the pros to save my sanity.
If there's a better way of doing this, then that would also be helpful.
Cheers.