localhost Posted July 24, 2006 Share Posted July 24, 2006 How would I make a form, that would write its contents to certain lines of a PHP file?So for instanceDb name: textbox1db user: textbox2dbpass: textbox3table prefix: textbox4then the file config.php$dbname = "textbox1";$dbuser = "textbox2";$dbpass = "textbox3";$prefix = "textbox4";then the select db, and mysql_connect]any ideas? Quote Link to comment Share on other sites More sharing options...
trq Posted July 24, 2006 Share Posted July 24, 2006 You would need to put each line into an array element, then loop through and write the file. Quote Link to comment Share on other sites More sharing options...
localhost Posted July 24, 2006 Author Share Posted July 24, 2006 a tutorial or anything? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.