Code is slow to execute:
The following code to create a url is very slow to execute so when the url link is clicked on, the page takes several seconds to open. Is there a way to speed this up?
The following code to create a url is very slow to execute so when the url link is clicked on, the page takes several seconds to open. Is there a way to speed this up?
Code:
$theuserid = "3";
$url = '<a href = edit.php?action=edit&item=';
$url .= "$theuserid";
$url .= ' target=\"_blank\">';
$url .= "$theuserid";
$url .= '</a>';
echo $url;