PHP Include function - use variable?

Eki

New member
code:
...
$sdfcontent = $row['sdfcontent'];
...
include ($sdfcontent);
...

This doesn't work. The idea is to load the filename from the database, and use it as a part of the script.
Is it possible to make it work without using zillion "Case" options?
 
Back
Top