ShoeLace1291 Posted June 15, 2007 Share Posted June 15, 2007 How do I put php in the fwrite function? For example: $database = $_POST['database']; $config = <?php $database = "$database"; ?>; I want the $database in bold to be $_POST['database']; Link to comment https://forums.phpfreaks.com/topic/55683-php-in-fwrite/ Share on other sites More sharing options...
trq Posted June 15, 2007 Share Posted June 15, 2007 <?php $database = $_POST['database']; $config = "<?php\n\$database = \"$database\";\n?>"; ?> Link to comment https://forums.phpfreaks.com/topic/55683-php-in-fwrite/#findComment-275130 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.