[19] Results

CodeIgniter : form input set_value cause " to become & quot

codeigniter quot html-escape set-value form-helper

Problem :

A string retrieved from database contains " and when you try to display the string with Form Helper's….... read more

Golang : How to fix html/template : "somefile" is undefined error?

golang html-template undefined-error parse-html

One of the most common mistakes when using html/template package ExecuteTemplate() function is forgetting to parse the HTML file first.... read more

Golang : Create PDF file from HTML file

golang pdf html

When I was coding with PHP and CodeIgniter framework, I need to generate PDF file to email receipts to my….... read more

PHP : Send HTML email

php html email

Sending email with PHP is easy and in this tutorial, we will learn how to send HTML based email with….... read more

Golang : Get escape characters \u form from unicode characters

golang escape-characters unicode utf8

Problem :

You want to get the escape characters (\u form) from unicode characters(utf-8). How to do that?

Solution :

.... read more

Golang : unknown escape sequence error

golang unknown-escape-sequence error

Encountered a funky error message unknown escape sequence while working this the tutorial on how to find IP….... read more

Golang : Query string with space symbol %20 in between

golang space-symbol url-query-escape

Problem :

You want to form URL that looks like this :

 https://example.com/query?keyword="golang lookup"

but your final….... read more

Javascript : How to replace HTML inside <div>?

javascript replace-HTML div

Problem :

How to use Javascript to replace the HTML codes?

While attempting to show different content to visitors equipped….... read more