'How can make I dynamically make sliders in revolution slider using php?

I have a website, which I want to show search results to the end user for given word. I use php functions to retrieve the data based on the search users made, I need to pass this data to revolution slider and show each row as a slide. for example in from the following array :

array(
   array(
      'Name'=> "tony",
      'Job' => "programmer"
   ),
   array(
      'Name'=> "john",
      'Job' => "farmer"
   )

)

I wanna have two slides in my slider showing Name and Job of each row.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source