IS this possible?

Discussion in 'Programming' started by knarffrank, Aug 26, 2008.

  1. #1
    Is this possible.. calling a php file in a page?

    example..
    view.php
    -it has php, html and js script in it.

    index.php
    - calling some functions inside view.php is this possible?
     
    knarffrank, Aug 26, 2008 IP
  2. maestria

    maestria Well-Known Member

    Messages:
    705
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    110
    #2
    You want to call a function which is in some other php file?
    you can use include function for accessing the subfunctions in other php files.
     
    maestria, Aug 27, 2008 IP
  3. ezprint2008

    ezprint2008 Well-Known Member

    Messages:
    611
    Likes Received:
    15
    Best Answers:
    2
    Trophy Points:
    140
    Digital Goods:
    1
    #3
    How are you trying to call it?
    If you use include , you can include the whole page - otherwise if you use handlers and functions , you can call functions by name - whichever ones you want from a a mass list.
     
    ezprint2008, Aug 27, 2008 IP
  4. gramyla

    gramyla Peon

    Messages:
    71
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    through calling a function you can call it or you should inherit/include the property of that page.I think these things only work and you don't need further information.
     
    gramyla, Aug 28, 2008 IP