Jump to content

fwrite() arrays [0] thru [x-1]


jkb3614

Recommended Posts

so basically i have a page of inline data where one line (x) needs to be edited.

 

i have everything set up EXCEPT...

 

i need help on how to write the first variable of an array through the line before line "x".

 

i.e. something along the lines of fwrite($rex[0-(x-1)])

                                                                  but of course this doesn;t work

i split the whole file into an array using file()

 

also i'm not the greatest with php can anyone help?

 

Link to comment
https://forums.phpfreaks.com/topic/181953-fwrite-arrays-0-thru-x-1/
Share on other sites

Archived

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

×
×
  • Create New...

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.