|
||||||||||
|
|||||||
| GoogleCommunity Sponsor |
Use coupon "forum" for 50% Off! |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Junior Googler
![]() Join Date: Jun 2007
Location: Java
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
![]() |
hyperlink on mysql
is there any way that mysql store data type of hyperlink? (just like msAccess2003 having this facility).
if not possible, how to display mysql result in hyperlink look? (using php on web), so it is clickable to url/ftp address. please kindly help, n thank you again |
|
|
|
|
Sponsored Links
|
|
|
|
#2 (permalink) |
|
Elite Googler
![]() Join Date: Oct 2006
Location: Ireland
Posts: 1,085
Thanks: 0
Thanked 2 Times in 2 Posts
![]() |
Hi stream,
MySQL has pre-defined data types and for better performance, usually specify data length, like: CREATE TABLE LINKS( lid int(5) NOT NULL default '0', url varchar(255), PRIMARY KEY (`lid`) ); See, varchar(255), that is where you store the link name and "lid" is the link id. Where (255) - is the maximum allowed characters in this field. To display a result from mysql as a link, you could use php and wrap the result in the way as: echo "< ahref='".$url_from_database_here."'>some link name</a>"; Hope this helps a little Regards, |
|
|
|
|
|
#4 (permalink) |
|
Elite Googler
![]() Join Date: Oct 2006
Location: Ireland
Posts: 1,085
Thanks: 0
Thanked 2 Times in 2 Posts
![]() |
Hi stream, you're always welcome
I been away for couple weeks working in Dublin, dropped my music for a while, but I'll pick it up again when get a free minute. I did not know you play too Warm regards, |
|
|
|
|
|
#5 (permalink) |
|
Junior Googler
![]() Join Date: Jun 2007
Location: Java
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
![]() |
hi alex, sorry for late reply. i've been away for my boaring office work..
|
|
|
|
|
|
#6 (permalink) |
|
Elite Googler
![]() Join Date: Oct 2006
Location: Ireland
Posts: 1,085
Thanks: 0
Thanked 2 Times in 2 Posts
![]() |
Hi stream,
Oh those school times, have lots of good memories I have a guitar too and axiom-49 midi controller, but I prefer keyboard, because my fingers can't get used to guitar strings. Thank you, my project was ok, I had just landed in another country - Lithuania, this is my home, I'm on holidays, took 1 month off. Why do you say that your work is boring? What do you do, if that's not a secret? |
|
|
|
|
|
#7 (permalink) |
|
Junior Googler
![]() Join Date: Jun 2007
Location: Java
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
![]() |
hi again, n... home sweet home for u.
im kind of person who enjoys atmosphere of east european culture, u know. i got used to it during my 1 year work in Uzbekistan (former USSR) in 2005. there i learnt a bit russian languange, russian cold soup, russian genuine vodka, n had a ride with Volda (if not mistaken) - that is like russian mercy car since 2006, i backed to bali for work in finance area. u know it's kind of counting money without even holding it in my hand, have to make them balanced in such a way every end of month. i like it, but sometime get boared. btw, if u have time, would u review my site. i sent such thread yesterday in web review forum. thank u and happy holiday.... |
|
|
|
|
|
#9 (permalink) | |
|
Noogle
![]() Join Date: Sep 2007
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
![]() |
Quote:
PLaying Video Games check this out for new Video Games to be Release: |
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Php Mysql | apg1985 | Web Design, Coding & Programming Forum | 1 | 07-31-2007 05:43 AM |
| I need a PHP with mysql site | jetbrains | Web Hosting Forum | 9 | 09-27-2006 07:51 AM |
| Anyone know phpBB and MySQL? | intelliot | Books and Google Book Search | 3 | 02-23-2006 07:21 AM |
| MySQL hosting | Orpheus | Web Hosting Forum | 3 | 11-15-2005 05:00 AM |