|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
Allowing Database Text to serve as HTML Code?
i add my site's news to a database, but sometimes i want to link to a page, but when i type in the html code
Code:
<a href='viportals.com/blah'>go to blah</a> how can i make it accept the mysql database's text as html code? |
|
#2
|
||||
|
||||
|
Isn't echo/print with PHP enough?
btw, your website is shaping up nicely ![]() |
|
#3
|
|||
|
|||
|
thanks so much! see i changed from tables!
i'll check the hard code. maybe when i put it in it does something weird. my website needs now is tons of bug fixes now that the css is pretty adequate, plus i'm going to add in javascript for game hovering and ajax for voting/commenting. hopefully i'll be done in less than 5 years! then i can finally start marketing and doing the even funner stuff! man, making a website isnt as easy as i thought. |
|
#4
|
||||
|
||||
|
Quote:
lol I agree, but when you see it coming together its very rewarding. Plus i did search for your site and a lot of results came up, that must be a good thing! For the problem you have now: Not sure if what i suggested worked. I forget to tell you this: HTML Special Characters |
|
#5
|
|||
|
|||
|
haha i was wondering why before it saves it to the db it converts it with that. thanks man!
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages > PHP Development > Allowing Database Text to serve as HTML Code? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|