Board index   FAQ   Search  
Register  Login
Board index php forum :: Database mySQL & php coding

Inserting and extracting Links (youtube mainly)

Codes here !

Moderators: macek, egami, gesf

Inserting and extracting Links (youtube mainly)

Postby MikeSpider » Sat Oct 20, 2012 5:03 am

Hi Guys,
I created my own Content Management System to insert, retrieve, update and delete information in a database. Everything works fine. the only problem I have is with hyperlinks. If I paste an hyperlink into the textarea and insert it in database, it works, but when I retrieve it, it comes out just as a plain text, i.e. no clicking is posible. the same with youtube links.

I am using html entities to insert into database, and "html_entity_decode" to retrieve it.

Any help is welcome,
Mike
MikeSpider
New php-forum User
New php-forum User
 
Posts: 49
Joined: Sun Feb 05, 2012 12:48 pm

Re: Inserting and extracting Links (youtube mainly)

Postby MikeSpider » Sun Oct 21, 2012 2:28 pm

ok I just figure it out. I forgot to put the <a> atribute lol. also the youtube links work with the embed code.
MikeSpider
New php-forum User
New php-forum User
 
Posts: 49
Joined: Sun Feb 05, 2012 12:48 pm


Return to mySQL & php coding

Who is online

Users browsing this forum: Bing [Bot] and 3 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.