SEARCH:
Previous: hjxCheckFirst Next: hFileUpload

hpHREF

mixed HREF_info
string HTML_property_fragment


Use this routine when putting links that are internal to your site directly into literal HTML. This routine is not necessary for links to outside pages.

The hpHREF routine does two things. First, it processes your href string through urlencode. Second, it prepends the Site Prefix to the URL so that your link will work in any run-time situation, such as a development machine, a development server, or a live server.

If the first parameter is an array, it is converted into a URL string.

Using hpHREF
Literal HTML should wrap HREFs
<div id="someid">
Please proceed to the
<a href="<?=hpHREF('?gp_page=somepage')?>">Ordering Page</a>
so that we can process your order.
</div>

Previous: hjxCheckFirst Next: hFileUpload