Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PHP-Mysql

Status
Not open for further replies.

koytsikos

Programmer
Jul 12, 2006
3
GR
Hi guis i want to ask something. I am working with dreamweaver and mysql (php). What is the syntax in a mysql field to add a url in order when i call this record in dreamweaver table to give me the link (url) that i insert in the field of mysql table? I insert <a href=" but when i call this record in dreamweaver through a recordset this record appears as a text not as link (url).
 
You need to insert the url into the page, then highlight it and copy/paste that into the link property

[Peace][Pipe]
 
consider 2 ways to store URLs, bold parts are the actual data in db

1. u can pull from DB the whole html/text respectivly (as u have)

<a href="www.xxxx.com">link</a>
but u have to be aware of closing tags arround it

2. just write out the URL itself and hand code the href:

<a href="Your DB field containing only ww.xxxx.com">"Your DB field containing only ww.xxxx.com" </a>


All the best!

:--------------------------------------:
fugitive.gif

[URL unfurl="true"]http://mostarnet.com[/url]

All around in my home town,
They tryin' to track me down...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top