I created a search form that changes "SPACE" for "+". (done with javascript) When I click on submit, it goes to searchresults.php. When I add:
between <p> and </p>, it works fine and shows the search with + signs instead of spaces.
Here's the place where I need it:
(it's almost at the end if you can't find it)
Here's the problem: it doesn't convert to the value because it sees it as part of the url.
I know it isn't my search form because it works when I use the PHP request outside of the url.
The above code works if I replace the PHP tag with the actual search. ex: wanted+item+search
This is part of a script that shows eBay RSS feeds.
Thanks to anyone willing to help me!
Code:
<?php echo $_REQUEST["text"]; ?>
between <p> and </p>, it works fine and shows the search with + signs instead of spaces.
Here's the place where I need it:
Code:
<?php
require_once '/PATH/carp.php';
// Add any desired configuration settings before CarpCacheShow
// using "CarpConf" and other functions
CarpConf('cborder','');
CarpConf('caorder','');
CarpConf('descriptiontags','table|/table|tr|/tr|td|/td|a|/a|img|br');
CarpConf('maxitems','15');
CarpConf('cacheinterval','10');
CarpConf('poweredby','');
CarpCacheShow('http://rss.api.eba...r=y&satitle=<?php echo $_REQUEST["text"]; ?>&afmp=&sacat=80070&saslop=1&fss=0');
?>
(it's almost at the end if you can't find it)
Here's the problem: it doesn't convert to the value because it sees it as part of the url.
I know it isn't my search form because it works when I use the PHP request outside of the url.
The above code works if I replace the PHP tag with the actual search. ex: wanted+item+search
This is part of a script that shows eBay RSS feeds.
Thanks to anyone willing to help me!