What do you mean?
Can you please exaplain?
Thanks,
I want to add this to the config file
$db_name = "databasename";
now, "databasename" would be specified by the user, by typing it into an <input type=text name=dbname> form.
I'd have an html form where i'd ask the user to enter
database host
database name
database username
database password
and once, they clicked 'submit, i want those values inserterted into a 'config.inc.php' file which would be used by the next script.
<?
require ("config.inc.php");
?>
Now, in order it to work, the config.inc.php file must look like something like this.
<?
$db_name = ''user_specified_database";
$db_user = ''user_specified_username";
$db_pass = ''user_specified_password";
$db_host = ''localhost";
?>