
03-11-2004, 10:31 AM
|
 |
Novice Webmaster
|
|
Join Date: Nov 2004
Location: selangor
Posts: 11
Rep Power: 0
|
|
please help me......urgent..
-----------------------------------------------------------
//file name->pref.conf.php
<?php
$test['type']="mysql";
$test['data']="not yet received";
?>
---------------------------------------------------------
//file name-> conf.php
<?php
include "pref.conf.php";
?>
<form action="conf.php" method="post">
type: <input type="text" name="type" value="<?php echo $test['type'];?>"><br />
data: <input type="text" name="data" value="<?php echo $test['data'];?>"><br />
<input type="submit" name="submit" value="Submit" />
</form>
-----------------------------------------------------------------------
my problem is how to change data at the pref.conf.php file using the html form .i have no idea how to apply the ( $test['type']=$_request['type'] ) to the conf.php file..please help me....
__________________
-ariana zellina-
|