Jump to content
MakeWebGames

Recommended Posts

Posted

This is extremely simple, but i decided to give it out as it may be useful to some that are either looking for using actions for pages, or simply have a layout that demands a name for the page headers..

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

I made it for my mail mod im making. I didnt want to go through and have to do every single echo to add lines, plus this also will give an error if the action isnt given or if the action doesnt exist in the array.

Also, you may want to take off the mail_ from the function name and add something else, or just get rid of it. If you do want to have a simple appended thing to the function name, just remember to add that in front of the actual function's name.

Unfortunately, I cannot remember a function that lets you use "as" besides foreach..

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.   Paste as plain text instead

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