Friday, 15 May 2015

How do I include another PHP file that is stored as a variable? -



How do I include another PHP file that is stored as a variable? -

i'm trying load page using include statement maintain getting error:

warning: include(accountview.php?id=) [function.include]: failed open stream: no such file or directory in /home/public_html/insertaccount.php on line 62 $return = "accountview.php?id=".$id; include $return;

i'm not sure i'm missing create perform correctly. set of eyes great.

there's no file name:

accountview.php?id=

the ?id= part killing you. you're trying include url there, not filename.

php include

No comments:

Post a Comment