Jump to content

How to pass a function to another page?


stevew

Recommended Posts

Don't require it more than once, because then you'll be defining the function more than once. Just call the function in header and footer.

also you're being redundant, you call echo copyright() but copyright doesn't return anything, it just echos. This is wrong.

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.