How to put a £ in front of a echoed value

Hi all,

In my php code, I am echoing values from my database. Is there a way to put a £ in front of the price in php?
Current code:
[php]
echo “

”.$vehicle[‘price’]."";
[/php]

What I tried:
[php]
echo “

” ‘£’ .$vehicle[‘price’]."";
[/php]

But this just comes up with an error.

Thanks,
Jack

[php]echo “

£” .$vehicle[‘price’]."";
[/php]

[php]echo "

£ " .$vehicle[‘price’]."";[/php]

Should suffice

Sorted - thanks all, again! ;D

Sponsor our Newsletter | Privacy Policy | Terms of Service