|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
|
|
#1
|
|||||
|
|||||
|
Can't include PHP
I am totaly newbie with PHP... here is my problem.
I want to include PHP in PHP file. Actauly in table. This is how it looks: php Code:
PHP file which I want to include is in other directory (etc. upper code is in /phpforum, and include file is in root directory). I know that I did totaly mess here, but please try to help me. |
|
#2
|
|||
|
|||
|
RE: Can't include PHP
PHP manual should answer all your questions.
(http://www.php.net/manual/en/function.include.php) |
|
#3
|
|||
|
|||
|
RE: Can't include PHP
|
|
#4
|
|||
|
|||
|
RE: Can't include PHP
Your statement will search for the file using default path (the one which is in your php.ini file). Try using absolute path.
Also the file you are including must be within <?php ?> tags like standard php code. |
|
#5
|
|||
|
|||
|
RE: Can't include PHP
|
|
#6
|
|||
|
|||
|
RE: Can't include PHP
|
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Installation > Can't include PHP |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|