how to give people a code

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
m2babaey
Forum Contributor
Posts: 364
Joined: Sun May 20, 2007 9:26 am

how to give people a code

Post by m2babaey »

hi
when you want to give your users a peice of code to place on their site how do you do that?
because codes are usually executed before displaying you know :?
thanks
User avatar
infolock
DevNet Resident
Posts: 1708
Joined: Wed Sep 25, 2002 7:47 pm

Post by infolock »

User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

Using the '<pre>' tag.
Using the '<input>' tag.
Using the '<textarea>' tag.
Using htmlspecialchars().
Post Reply