driveflexfuel
New Member
- Messages
- 159
- Reaction score
- 0
- Points
- 0
I am trying to create an options form that will change php variable within a configuration file. If anyone knows how to do this it would be great help.
Config.php looks like this
	
	
	
		
Options.php the submission form
	
	
	
		
			
			Config.php looks like this
		Code:
	
	//language
$language = 'EN';
//Currency
$currency = 'USD'
//Page Title
$title = "Welcome - Home Page"Options.php the submission form
		Code:
	
	<form>
Language <select name="language">
            <option value='EN'>English</option>
            <option value='SP'>Spanish</option>
            <option value='FR'>French</option>
         </select>
         <br/>
Currency <select name="currency">
            <option value='USD'>US Dollar</option>
            <option value='EUR'>Euro</option>
            <option value='GBP'>British Pound</option>
         </select>
         <br/>
Page Title <input type="text" name="title" />
<br/>
<input type=submit name=submit />
</form> 
				 
 
		 
 
		 
 
		