> I have only started to program in php over the past month or so.
> but I'm some problems with this bit of code below.
>
> Problem area
> require('$includefile.inc');
hi Dave,
the
require($includefile);
bit should work fine. but before that try replacing this line
$includefile = $row["includefile"];
with:
$includefile = $row["includefile"].".inc";
PHP is prob getting confused what the "." means in your require statement.
best wishes,
simon
-------------------------------------------
Studio 24 Ltd | tel. 01223 501 892
30 Hopkins Close | fax. 0870 063 1216
Cambridge | mob. 07974 074 547
CB4 1FD | www.studio24.net
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]