Monday, March 20, 2017

Process variable from MYSQL static string

I save Title page template in MYSQL like string

Range ($code_ranges->code) $code_ranges->from - $code_ranges->to

in Controller i call

$title = $webDomain->titlePhoneRangePage;

and pass $title to view but in view i see this line

Range ($code_ranges->code) $code_ranges->from - $code_ranges->to

but i want see processed varible

Range (203) 10000000 - 90000000

how i can Process varible from mysql in controller? i need storage this on mysql

Thank a lot!



via berap

Advertisement