Need help with creating my links

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Need help with creating my links

    hi im trying to place a link on my index.php to go to admin control panel on my script but Its doing it wrong

    how can I get this code to go to that file without putting the full url of my site before it
    PHP Code:
    echo '<a href="/staff/admin.php">Admin settings</a></br>'
    (hard to explain )

    #2
    just like you have got it above

    Comment


      #3
      Originally posted by something else View Post
      just like you have got it above

      it goes like this
      minecraftpe.hostei.com/staff/admin.php

      instead of minecraftpe.hostei.com/forum/staff/admin.php

      forum dir is where I have my site at moment

      Comment


        #4
        echo '<a href="staff/admin.php">Admin settings</a></br>';

        Comment


          #5
          Thank u bro

          I thought it would have ''/'' because it is folder =/.
          Last edited by Matt_dowd91; 06.04.12, 12:57.

          Comment

          Working...
          X