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 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";'); Link to comment https://forums.phpfreaks.com/topic/136029-writing-variable-to-file/#findComment-709260 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.