HTML_AJAX and strange &
| From: | Mario Gzuk | Date: | Sat, 05 Apr 2008 13:45:51 +0000 |
| Subject: | HTML_AJAX and strange & | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-28746@lists.php.net to get a copy of this message | ||
Hi,
first thank you for this great work! I dont know if this is releated to
the browser, to javascript or to HTML_AJAX, but I am sure here are the
X-perts who know why this happens.
If I want to use the HTML_AJAX_Server I bind in the script like this:
<script type="text/javascript"
src="modules/syslog_ng/live_search_logs.php?stub=livesearch_syslog&client=main,dispatcher,httpclient,request,json,loading,orderedqueue&bli=bla&tablename=blub&dbname=DB"></script>
and I do an print_r($_GET) in live_search_logs.php the following array
is displayed:
Array
(
[bli] => bla
[amp;tablename] => blub
[amp;dbname] => DB
[c] => livesearch_syslog
[m] => searchsyslog
)
Why the first vars ar working and after that ist seems to be that some &
gets parsed to &
Thank you for any hint on this!
greetings mario