Jamo-code Posted December 8, 2008 Share Posted December 8, 2008 how would i go about writing this line of code... $Sections[] = "Extracurricular,./forumlisting.php?Forum=extracurricular,extracurricular"; exactly as it is, on to a text file.ive been trying but am getting errors Quote Link to comment https://forums.phpfreaks.com/topic/136029-writing-variable-to-file/ Share on other sites More sharing options...
trq Posted December 8, 2008 Share Posted December 8, 2008 file_put_contents('file.txt','$Sections[] = "Extracurricular,./forumlisting.php?Forum=extracurricular,extracurricular";'); Quote Link to comment https://forums.phpfreaks.com/topic/136029-writing-variable-to-file/#findComment-709260 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.