basic php question

I am building a landing page with links to different php programs.

What should I use to call them , href or header, and why  ?
RozamundaAsked:
Who is Participating?
 
ikrommCommented:
href and header are two different things.

If you want a user to click a link and open a new page, href is what you need.
If you need a script to redirect to a page automatically (do calculations and then show the page) then use header.

There is no need to create php scripts with header("Location") directives for every single page of your site.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.