0

Include in php

file connection.php in put in inc directory but in i include like this include ("inc/connect.php"); What is the error? help me

9th Mar 2017, 11:12 AM
NTK
NTK - avatar
2 Answers
+ 3
try include("../inc/connect.php"); make sure inc directory is inside the root directory on your server
9th Mar 2017, 11:23 AM
seamiki
seamiki - avatar
0
ok.thank
9th Mar 2017, 2:59 PM
NTK
NTK - avatar