| | |
require_once variables not available in function
Thread Solved |
•
•
Join Date: May 2008
Posts: 4
Reputation:
Solved Threads: 0
Got it : I should declare the variables I need from the require, with 'global' in the function. ref : http://us2.php.net/manual/en/languag...bles.scope.php.
![]() |
Similar Threads
- mysql_query(): supplied argument is not a valid MySQL-Link (PHP)
- Error handling (PHP)
- PHP Dynamic Form HELP! (PHP)
- Need help with session in php..... (PHP)
- PHP/MySQL User authentication & redirection (Existing Scripts)
- php results from form - stuck (PHP)
- Inserting dynamic values into Javascript variables (JavaScript / DHTML / AJAX)
- paging & _POST variables (PHP)
Other Threads in the PHP Forum
- Previous Thread: i need help please
- Next Thread: localhost Apache 2.2/PHP5 won't execute index.php
Views: 1751 | Replies: 1
| Thread Tools | Search this Thread |
Tag cloud for PHP
access ajax apache archive array arrays beginner binary box broken buttons cakephp cart check checkbox class cms code curl database date delete development directory display download dropdown drupal dynamic echo email error file files form forms functions header href htaccess html image include insert ip java javascript joomla jquery limit link list login loop mail menu methods mlm mod_rewrite multiple mysql order output parse password paypal php problem query radio regex remote results script search security select server session sort source sql string syntax system table tutorial update updates upload url user validation validator variable video web website wordpress xml





