Forum Moderators: coopster

Message Too Old, No Replies

PHP to make page linking easy

         

anand84

3:04 pm on Mar 15, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi all

To make linking all my pages,and also to automatically include new pages in each of the other pages as and when I make them, I thought if I can make a row entry, where I shall append the newer pages so that I can use PHP code to print the row entry directly on the pages by invoking the content of the row.

Now, I want to know if doing this will work.Like I have two categories - Blue widgets and Red widgets. All pages on blue should be interlinked and similarly for red.

Now, take a code such as shown


<a href =...>A</a>&nbsp<a href =...>B</a>&nbsp..

Now all this will be on row 1 of my table and all red entries will be on row 2.
Now, will such a row entry,when called using the PRINT command, help me directly present the links on my webpage.
I am new to PHP. So, please let me know how I can do this.

anand84

10:17 am on Mar 19, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Is somebody reading this?

jatar_k

5:11 pm on Mar 20, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



I am not totally sure what you need anand84

you just want every page to have the same 2 links at the bottom?

So you would have a table of links for each existing category and then pull them all and dump them into the page?

if that is the case then I don't see why you couldn't do this. You could also just have a file of links that is included on every page.