[PHP] Re: pattern containing single quote in IF statement

2006-12-26 Thread Jahangir
I tried that also but it didnt work. if($_GET['query']=="some'u'all") { filter($query);} I still get the same error. ""Jahangir"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I am stuck at a wierd problem. I am trying

[PHP] pattern containing single quote in IF statement

2006-12-26 Thread Jahangir
I am stuck at a wierd problem. I am trying to do comparision between a "query string" and a "string value". the string consists of some diacriticals and single quotes. But when i try to escape the single quotes using backshash (\) it doesnt work. and when i try to use it inside a double quote preg_

[PHP] calling a function in the same page

2006-12-25 Thread Jahangir
I am trying to call a function from "a href" inside the same page. this is the code: echo "More results from Mysite"; // calling the function isearch function isearch($query) {$query=urlencode($query); $request='http://api.search.yahoo.com/WebSearchService/V1/webSearch?appid=Ja hangir&query=' .u

[PHP] calling a function in the same page

2006-12-25 Thread Jahangir
I am trying to call a function from "a href" inside the same page. this is the code: echo "More results from Mysite"; // calling the function isearch function isearch($query) {$query=urlencode($query); $request='http://api.search.yahoo.com/WebSearchService/V1/webSearch?appid=Ja hangir&query=' .u

[PHP] calling a function in the same page

2006-12-24 Thread Jahangir
I am trying to call a function from "a href" inside the same page. this is the code: echo "More results from Mysite"; // calling the function isearch function isearch($query) {$query=urlencode($query); $request='http://api.search.yahoo.com/WebSearchService/V1/webSearch?appid=Ja hangir&query=' .u

[PHP] calling a function in the same page

2006-12-24 Thread Jahangir
I am trying to call a function from "a href" inside the same page. this is the code: echo "More results from Mysite"; // calling the function isearch function isearch($query) {$query=urlencode($query); $request='http://api.search.yahoo.com/WebSearchService/V1/webSearch?appid=Ja hangir&query=' .u

[PHP] Customizing unserialize output.

2006-12-24 Thread Jahangir
2080 [totalResultsReturned] => 20 [firstResultPosition] => 1 [moreSearch] => /WebSearchService/V1/webSearch?query=bangalore&appid=Jahangir®ion=us [Result] => Array (