[advanced search]
Results from the most recent live auction are here.
17 members in the live chat room. Join Chat!
Register Rules & FAQ NP$ Store Active Threads Mark Forums Read
Go Back   NamePros.Com > Design and Development > Programming
User Name
Password

Old 10-12-2003, 11:32 AM   · #1
adam_uk
Senior Member
 
Trader Rating: (17)
Join Date: May 2003
Posts: 2,211
NP$: 6170.25 (Donate)
adam_uk is a jewel in the roughadam_uk is a jewel in the roughadam_uk is a jewel in the rough
Breast Cancer
my minds blank......

hey people i cant rembmer what it is but theres a function in php i belive called something (str_ something i think)

that stops the browser parsing html and php stuff when selelcting data from a database

basically ive got this entry in my database that contains html and i cant remmber the function i use to stop it processing it when its selected from the database

any ideas cheers


Please register or log-in into NamePros to hide ads
adam_uk is offline   Reply With Quote
Old 10-13-2003, 01:18 AM   · #2
deadserious
Senior Member
 
Trader Rating: (13)
Join Date: Aug 2002
Posts: 1,300
NP$: 2.85 (Donate)
deadserious has a spectacular aura aboutdeadserious has a spectacular aura about
Are you thinking of htmlspecialchars or htmlenteties? Is what you're wanting to do is display the source code of the html rather than having the browser parse it when you print it? If so, you can also use <xmp> or <pre> tags around what your print.
<xmp>
<?=$result['your_result'];?>
</xmp>
deadserious is offline   Reply With Quote
Old 10-14-2003, 10:10 AM   · #3
adam_uk
Senior Member
 
Trader Rating: (17)
Join Date: May 2003
Posts: 2,211
NP$: 6170.25 (Donate)
adam_uk is a jewel in the roughadam_uk is a jewel in the roughadam_uk is a jewel in the rough
Breast Cancer
thats the one! htmlspecialchars

cheers
adam_uk is offline   Reply With Quote
Closed Thread

NamePros is a revenue sharing forum.

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Site Sponsors
http://www.mobisitetrader.com/ Traffic Down Under Click to Watch Instant Video
Advertise your business at NamePros
All times are GMT -7. The time now is 07:19 PM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0