How to take the content of a page(PHP) as a PHP function return

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • amskape
    New Member
    • Apr 2010
    • 56

    How to take the content of a page(PHP) as a PHP function return

    Dear friends,
    I am using wordpress for my activity logging purpose . I have a plugin for chart preparation ,
    Wordpress Business intelligenace . . But i need to take that chart data as HTML . I need to
    take a php page data as a function return . How it can possible ? file_get_conten ts() is helpful in this scenario?

    Advise me

    Thanks,
    Anes
  • dlite922
    Recognized Expert Top Contributor
    • Dec 2007
    • 1586

    #2
    We're PHP experts, not WordPress experts except maybe a few. Can you explain your problem better with exactly what you want PHP to do?

    Remember that PHP is a programming language that is executed on your server, not in your browser. You want to store the contents of a page (with a chart in it) and put that into a PHP function that returns that html when you call it? (assuming you want to insert this elsewhere)

    Comment

    Working...