note 112276 added to function.substr-replace
| From: | fenixsdf at hotmail dot com | Date: | Sun, 26 May 2013 17:57:08 +0000 |
| Subject: | note 112276 added to function.substr-replace | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-194959@lists.php.net to get a copy of this message | ||
$_GET['id']; id=dvd+carros
<?php
$resultado_busca = $_GET['id'];
?>
entao $resultado_busca tem dvd+carros
<?php
$uri = "https://api.mercadolibre.com/sites/MLB/search?q=$resultado_busca&limit=5";
echo $uri;
que sai https://api.mercadolibre.com/sites/MLB/search?q=dvd
carros&limit=5
Gostaria que saisse https://api.mercadolibre.com/sites/MLB/search?q=dvd+carros&limit=5
----
Server IP: 69.147.83.199
Probable Submitter: 187.107.214.174
----
Manual Page -- http://php.net/manual/en/function.substr-replace.php
Edit -- https://master.php.net/note/edit/112276
Del: integrated -- https://master.php.net/note/delete/112276/integrated
Del: useless -- https://master.php.net/note/delete/112276/useless
Del: bad code -- https://master.php.net/note/delete/112276/bad+code
Del: spam -- https://master.php.net/note/delete/112276/spam
Del: non-english -- https://master.php.net/note/delete/112276/non-english
Del: in docs -- https://master.php.net/note/delete/112276/in+docs
Del: other reasons-- https://master.php.net/note/delete/112276
Reject -- https://master.php.net/note/reject/112276
Search -- https://master.php.net/manage/user-notes.php