Jump to content

Archived

This topic is now archived and is closed to further replies.

Jamo-code

writing variable to file

Recommended Posts

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

Share this post


Link to post
Share on other sites
file_put_contents('file.txt','$Sections[] = "Extracurricular,./forumlisting.php?Forum=extracurricular,extracurricular";');

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.