Results 1 to 2 of 2

Thread: included PHP files

  1. #1

    included PHP files

    What's the best thing to do if I want to pass an array to an included PHP file? (Sessions, Send/Get, something else?)

    Ta, Ben

  2. #2
    if the file is included, then you don't need to do anything. so...
    PHP Code:
    @arr = array();

    require_once( 
    'included_file.php' ); // can also access @arr 

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Home About kirupa.com Meet the Moderators Advertise

 Link to Us

 Credits

Copyright 1999 - 2012