I want to get value from my content such as @img::56
:
@img::56 => value=56
to get record from datatabase mysql_query("select * from tblgallery where g_id=56");
.
Tara Angkor Hotel is the first 4-Star Luxury Hotel built in the mystical land of Angkor. @img::56 Ideally and @youtube::https://www.youtube.com/watch?v=k4YRWT_Aldo conveniently located, Tara Angkor Hotel is situated only 6 km from the World Heritage site of Angkor Wat Temples, 15 min drive from the Siem Reap International Airport, a few minutes stroll to the Angkor National Museum and @img::41 a short ride to the city town center with an array of Cambodian souvenirs, shopping and culture.
I want to get result
Tara Angkor Hotel is the first 4-Star Luxury Hotel built in the mystical land of Angkor. mysql_query("select * from tblgallery where g_id=56") Ideally and <iframe width="560" height="315" src="//www.youtube.com/embed/k4YRWT_Aldo" frameborder="0" allowfullscreen></iframe> conveniently located, Tara Angkor Hotel is situated only 6 km from the World Heritage site of Angkor Wat Temples, 15 min drive from the Siem Reap International Airport, a few minutes stroll to the Angkor National Museum and mysql_query("select * from tblgallery where g_id=41") a short ride to the city town center with an array of Cambodian souvenirs, shopping and culture.
preg_replace_callback
may be the tool you need) – Niet the Dark Absol Dec 5 '14 at 17:15