In PHP :how can I use include() Function which parameter is variable ?
Posted
by Nina
on Stack Overflow
See other posts from Stack Overflow
or by Nina
Published on 2010-05-20T21:07:12Z
Indexed on
2010/05/20
21:10 UTC
Read the original article
Hit count: 252
Hi..
I need to use include Function with variable.
but,when I try to do it I faced some errors .
Code :
$year=$_POST['year'];
$month=$_POST['month'];
$day=$_POST['day'];
include "Event.php?year=".$year."&month=".$month."&day=".$day;
so,can U help me ? : )
© Stack Overflow or respective owner