MySQL Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesMySQL Help
Receive the tools necessary to be the rock star of your field. Our 12-month program teaches you the evolving world of multi-channel marketing as well as the complex issues and opportunities found in the industry.

ASP Free and Iron Speed Designer are giving away $5,500+ in FREE licenses. Iron Speed's RAD CASE toolset can save up to 80% of your coding time. One free license per week, one perpetual license per month!
Download and Activate to enter!

Web development can be a daunting task, even for specialists. There is a lot of information to absorb and a lot of technologies to learn in order to manage a superior website. When trying to learn the ropes, developers need a reliable source to introduce new ideas that can be easily implemented. When working on large projects, even web veterans may run into a technology or an aspect of a technology that they are unfamiliar with.

Learn More!


Download to Enter
| Contest Rules

Tutorials | Forums

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 18th, 2001, 02:11 AM
marron79's Avatar
marron79 marron79 is offline
Rut row Raggy!
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jul 2001
Location: Tornado Alley
Posts: 560 marron79 User rank is Sergeant (500 - 2000 Reputation Level)marron79 User rank is Sergeant (500 - 2000 Reputation Level)marron79 User rank is Sergeant (500 - 2000 Reputation Level)marron79 User rank is Sergeant (500 - 2000 Reputation Level)marron79 User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 10 h 3 m 58 sec
Reputation Power: 28
Question Calling links from a database

Can anyone tell me how I links should be inputed into a MySQL database? Also, how do I call the link in a web page? I do not want the URL displayed, but want something like the example below done in HTML:

<a href="http://www.devshed.com/">Click here!</a>

Thanks!

mmarron79@home.com
__________________
Matt

Last edited by marron79 : July 18th, 2001 at 02:19 AM.

Reply With Quote
  #2  
Old July 18th, 2001, 09:36 AM
Jay Edgar Jay Edgar is offline
The one who gets it done
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2001
Location: Madison, WI
Posts: 395 Jay Edgar User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 32 m 22 sec
Reputation Power: 11
Send a message via Yahoo to Jay Edgar
Um, why post this twice?

J

Reply With Quote
  #3  
Old July 18th, 2001, 02:36 PM
Insane Sensei Insane Sensei is offline
Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2000
Location: US
Posts: 16 Insane Sensei User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 sec
Reputation Power: 0
Send a message via ICQ to Insane Sensei
Just put the whole HTML tag in the database, so when you call it again, it comes out as an HTML tag, and will display a link to the user.

Reply With Quote
  #4  
Old July 18th, 2001, 02:54 PM
andnaess andnaess is offline
Contributing User
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Jul 2001
Location: Oslo
Posts: 1,516 andnaess User rank is Private First Class (20 - 50 Reputation Level)andnaess User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 12
Quote:
Originally posted by Insane Sensei
Just put the whole HTML tag in the database, so when you call it again, it comes out as an HTML tag, and will display a link to the user.


Yeah, sure, ruin your data, slap logical and presentational information into one big useless lump.

marron79: Don't listen to him, he's insane after all .
Repeat after me:

Separate information and it's presentation
Separate information and it's presentation
Separate information and it's presentation

Separate information and it's presentation
Separate information and it's presentation
Separate information and it's presentation

Reply With Quote
  #5  
Old August 20th, 2001, 10:04 PM
jough jough is offline
El Guapo
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2001
Location: You have moved into a dark place. It is pitch black. You are likely to be eaten by a grue.
Posts: 56 jough User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 7 m 47 sec
Reputation Power: 11
You could add link fields - one called "url" that's just the http://www.domain.com part, and then a "name" or "title" field that has the name for the link. Use an ID field, and you can just display urls from a mySQL call:

<a href="$url">$name</a>

Ta-da.

-- Jough
__________________
See my PHP in action:
Poetry Archives

Reply With Quote
  #6  
Old February 5th, 2012, 05:12 PM
aminkorea aminkorea is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2012
Posts: 7 aminkorea User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 6 m 5 sec
Reputation Power: 0
I had the same question as the OP and came across this post. I thought to myself "can it really be that easy?" Tried it and, yes, it really is that easy.

Thanks jough.

Reply With Quote
  #7  
Old February 6th, 2012, 01:34 AM
mimibaae8 mimibaae8 is offline
Permanently Banned
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2012
Posts: 1 mimibaae8 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 m 32 sec
Warnings Level: 10
Number of bans: 1
Reputation Power: 0
I had the same question as the OP and came across this post. I thought to myself "can it really be that easy?" Tried it and, yes, it really is that easy.

Thanks jough.

Reply With Quote
  #8  
Old February 6th, 2012, 02:09 AM
cafelatte cafelatte is offline
Contributing User
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Mar 2008
Posts: 1,621 cafelatte User rank is Major (30000 - 40000 Reputation Level)cafelatte User rank is Major (30000 - 40000 Reputation Level)cafelatte User rank is Major (30000 - 40000 Reputation Level)cafelatte User rank is Major (30000 - 40000 Reputation Level)cafelatte User rank is Major (30000 - 40000 Reputation Level)cafelatte User rank is Major (30000 - 40000 Reputation Level)cafelatte User rank is Major (30000 - 40000 Reputation Level)cafelatte User rank is Major (30000 - 40000 Reputation Level)cafelatte User rank is Major (30000 - 40000 Reputation Level)cafelatte User rank is Major (30000 - 40000 Reputation Level) 
Time spent in forums: 1 Month 19 h 23 m 23 sec
Reputation Power: 374
Yep, not much has changed in 11 years.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesMySQL Help > Calling links from a database


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.

© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 6 - Follow our Sitemap