Thursday, 30 August 2018
Subscribe to:
Post Comments (Atom)
&
' for xhtml links or '&
' otherwise.foreach
but since my method could be called many times in one request I fear it might be too slow.<?php
$Amp = $IsXhtml ? '&' : '&';
$Parameters = array('Action' => 'ShowList', 'Page' => '2');
$QueryString = '';
foreach ($Parameters as $Key => $Value)
$QueryString .= $Amp . $Key . '=' . $Value;
http_build_query()
to do that.Generates a URL-encoded query string from the associative (or indexed) array provided.
Hello Friends! I am Ramana a part time blogger from Hyderabad.
0 comments:
Post a Comment