Insert html/js in db and edit |
HI , sorry for english , hi want to save in my db a code like this :
PHP Code: var uri = 'https://pippo.com' + new String (Math.random()).substring (2, 11); This is a js script , hi want treat it like simple text , booth insertion and edit . To try , i insert directly this code in db but if i echo the code i see a clickable image . How can i save it as simple text and show as simple text ? |
Messages In This Thread |
Insert html/js in db and edit - by pippuccio76 - 01-21-2020, 10:41 AM
RE: Insert html/js in db and edit - by jreklund - 01-21-2020, 11:17 AM
RE: Insert html/js in db and edit - by pippuccio76 - 01-21-2020, 11:31 AM
|