Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
How do you make hyperlinks like this?
Old 09-01-2008, 02:05 PM How do you make hyperlinks like this?
Experienced Talker

Posts: 40
Location: i live with your mom
Trades: 0
On the left hand side of this website http://www.vietnamwebsite.net/duhoc/
There are about 11 hyperlinks. The question is this: This looks like a HUGE site and sometimes in the future lets say this person wanted to add another hyperlink, he would have to change the hyperlinks for EVERY PAGE for example, he would have to change TRANG CHU, DANH BA CHINH, TOP 1000 WEB, etc., all these links and pages.

How can I make it to there I can add another hyperlink without going to EVERY SINGLE PAGE to add that hyperlink. Do you kind of get what I mean?
meloncrack is offline
Reply With Quote
View Public Profile Visit meloncrack's homepage!
 
 
Register now for full access!
Old 09-01-2008, 03:01 PM Re: How do you make hyperlinks like this?
Sleeping Troll's Avatar
Ultra Talker

Posts: 351
Name: Butch Begy
Trades: 0
Use a database for links, then all you have to do is change links in database once.
Sleeping Troll is offline
Reply With Quote
View Public Profile
 
Old 09-02-2008, 06:50 PM Re: How do you make hyperlinks like this?
Skilled Talker

Posts: 85
Name: Ilyes Rhouma
Trades: 0
Ok, just create a simple text file with all this box script on it, something like:

<a href=".." >text1</a>
<a href=".." >text2</a>
<a href=".." >text3</a>
<a href=".." >text4</a>
<a href=".." >text5</a>

Then include with
PHP Code:
<?php include('filepathhere') ; ?>
I hope this will help you
__________________
Want a cheap and custom programmer or writer ?
Please login or register to view this content. Registration is FREE

Are you
Please login or register to view this content. Registration is FREE
? Start
Please login or register to view this content. Registration is FREE
free and earning money !
Please login or register to view this content. Registration is FREE
Ilyes is offline
Reply With Quote
View Public Profile Visit Ilyes's homepage!
 
Old 09-02-2008, 09:28 PM Re: How do you make hyperlinks like this?
Experienced Talker

Posts: 40
Location: i live with your mom
Trades: 0
Ilyes do you have aim or yahoo messenger or msn? You seem really intelligent. Also do you know the php include code, where do I put that? Can I put it inside a table?
meloncrack is offline
Reply With Quote
View Public Profile Visit meloncrack's homepage!
 
Old 09-03-2008, 03:44 AM Re: How do you make hyperlinks like this?
Novice Talker

Posts: 11
Name: Jossielyn Lucero
Trades: 0
Yes, you can put include code inside the table or anywhere you want your output to appear.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
prtt75 is offline
Reply With Quote
View Public Profile
 
Old 09-03-2008, 11:45 AM Re: How do you make hyperlinks like this?
Skilled Talker

Posts: 85
Name: Ilyes Rhouma
Trades: 0
Like prtt75 said, you can put it anywhere.
If you would like to contact me, my msn is rhouma_ilyes then @ then msn.com

For more details about you need:

1-Go to one page in your website, open the source code.
2- select your current list, it seems to:
Code:
<a href="page1.html" >page 1</a>
<a href="page2.html" >page 2</a>
<a href="page3.html" >page 3</a>
3- Copy it all to clipboard and replace it with:
PHP Code:
<?php include('links.txt');?>
4- create a new text file: links.txt, and paste the copied text on it.

5- Repeat step 2 and 3 to all pages that you want the links list to be dynamic ( note: no need to copy it in step 3, just replace)


If you need anything else, feel free to contact me in msn
__________________
Want a cheap and custom programmer or writer ?
Please login or register to view this content. Registration is FREE

Are you
Please login or register to view this content. Registration is FREE
? Start
Please login or register to view this content. Registration is FREE
free and earning money !
Please login or register to view this content. Registration is FREE

Last edited by Ilyes; 09-03-2008 at 11:49 AM..
Ilyes is offline
Reply With Quote
View Public Profile Visit Ilyes's homepage!
 
Reply     « Reply to How do you make hyperlinks like this?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.26048 seconds with 12 queries