|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
SELECT field as a hyperlink - MySQL
Urghhh! Help!
I'm going around in circles here. I need to simply query a MySQL db using PHP and return one of the fields as a hyperlink. I've tried various things inc: select '<a href="' + fieldname + '">Click Here!</a>' from table and SELECT (CONCAT('<a href="http://',fieldname,'">',fieldname,'</a>')) as hyperlink1 FROM table These return just the text: <a href="http://2">2</a> with the source looking like this: <a href="http://2">2</a> How can I stop the php being parsed to html as exact characters (< instead of < etc) ??? Somebody save me from caffeine overdose! J |
|
#2
|
|||
|
|||
|
RE: SELECT field as a hyperlink - MySQL
|
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Database Help > SELECT field as a hyperlink - MySQL |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|