Ho una funzione che come return ha il codice di una pagina web...devo metterci un include...come faccio?
return
" <body>
include (menu.php);
";
tipo così...mi servirebbe la sintassi giusta.
Grazie.
Ho una funzione che come return ha il codice di una pagina web...devo metterci un include...come faccio?
return
" <body>
include (menu.php);
";
tipo così...mi servirebbe la sintassi giusta.
Grazie.
GdR Online - http://lenar.it/
Yesterday is history. Tomorrow is mystery.
Today is a gift. That's why it's called the present
return " <body>".implode('',file(http://www.tuosito.it/tuadir/menu.php));
chiaramente una richiesta http è MOLTO + lenta di un include
se poi devo continuare ad aggiungere codice funziona?
es.
return
"<body>".
implode('',file(http://www.tuosito.it/tuadir/menu.php));
."</body>";
GdR Online - http://lenar.it/
Yesterday is history. Tomorrow is mystery.
Today is a gift. That's why it's called the present
up
GdR Online - http://lenar.it/
Yesterday is history. Tomorrow is mystery.
Today is a gift. That's why it's called the present
reup.
GdR Online - http://lenar.it/
Yesterday is history. Tomorrow is mystery.
Today is a gift. That's why it's called the present
certo che funziona