Jump to content

[SOLVED] Array include


SirChick

Recommended Posts

I have a question about unsetting rows in an array from an include.

 

Say you got 2 scripts running at the same time both using the same array. Then lets say one script unsets id [3]

 

Is there a way to only unset it so that one script will read it as unset but the other script it will still be there so its exclusively unset for one page and not the other even though its the same array ?

 

It would help dramatically for reducing repetition if this is possible. Rather than the array on every page, having one array set and the scripts use it would mean i only need the array once which is quite a long array aswell...which is better than copy and pasting it to all my scripts that use it.

 

Hope you can help.

Link to comment
https://forums.phpfreaks.com/topic/87657-solved-array-include/
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.