Function: go

Redirects the user to a new URL

Info

Syntax

go($url=false, $code=false)

Parameters

Example


go('http://google.com')
// sends the browser to the google homepage

go('/someotherpage')
// sends the browser to someotherpage (relative url)