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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.