[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

Re: [PHP] calling a function in the same page

2006-12-25 Thread Sumeet
Jahangir wrote: 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

Re: [PHP] Clarification: Jump to a record/PHP paging...

2006-12-25 Thread Robert Cummings
On Sun, 2006-12-24 at 11:22 -0500, tedd wrote: > > > Again, in my opinion, that's fuzzy thinking. Sure, Yeti may be in the > >> monster sub-set, but how much monster it is as compared to Lockness? > >> You need a means, a yardstick, to compare the two with each other. > >> Like, is Lockness big

[PHP] Merry Christmas!

2006-12-25 Thread Robert Cummings
WhoooOO! Hope you all have a great Christmas day. If you don't celebrate Christmas, then I hope you have a great Christmas day anyways *lol*. If this post offends you due to it's promotion of Christmas then I apologize and hope you have a great anal retentive Christmas day!!! :B

[PHP] scripting process doesn't function

2006-12-25 Thread Geert T
Hi, I have made some script that process the users input, and validates the input and sends it back. But it doesn't work very well, in fact it doesn't work at all. I am only able to see and input my name and such in the html form, but the php part doesn't do it's job. I have looked over the sc

Re: [PHP] Odd behavior

2006-12-25 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2006-12-24 18:11:03 -0800: > function display($list, $in, $out, $save, $req, $x) > { > for($i = 0; $i < count($in); $i++) > {$j = $i + 1; > // two sets of links displayed instead of one > for($i = 0; $i < count($out); $i++) > {$j = $i + 1;

Re: [PHP] scripting process doesn't function

2006-12-25 Thread Sancar Saran
On Monday 25 December 2006 13:35, Geert T wrote: > Hi, > > I have made some script that process the users input, and validates the > input and sends it back. But it doesn't work very well, in fact it doesn't > work at all. I am only able to see and input my name and such in the html > form, but the

Re: [PHP] Odd behavior

2006-12-25 Thread jekillen
On Dec 25, 2006, at 7:21 AM, Roman Neuhauser wrote: # [EMAIL PROTECTED] / 2006-12-24 18:11:03 -0800: function display($list, $in, $out, $save, $req, $x) { for($i = 0; $i < count($in); $i++) {$j = $i + 1; // two sets of links displayed instead of one for($i = 0; $i <

RE: [PHP] calling a function in the same page

2006-12-25 Thread Peter Lauri
Hi, Are you trying to use PHP as a client scripting language? What you are doing cannot be done with plain PHP, you have to invoke JavaScript or similar to make a HTTP request and then parse it. Search Google for "AJAX" and you could get it working using that. Prototype is a easy to use JS libra

Re: [PHP] Odd behavior

2006-12-25 Thread Martin Alterisio
2006/12/25, jekillen <[EMAIL PROTECTED]>: On Dec 25, 2006, at 7:21 AM, Roman Neuhauser wrote: > # [EMAIL PROTECTED] / 2006-12-24 18:11:03 -0800: >> function display($list, $in, $out, $save, $req, $x) >> { >> for($i = 0; $i < count($in); $i++) >> {$j = $i + 1; >> // two sets

Re: [PHP] Clarification: Jump to a record/PHP paging...

2006-12-25 Thread Martin Alterisio
2006/12/25, Robert Cummings <[EMAIL PROTECTED]>: WRONG! See Martin Alterisio's post for the same thread. You must not have understood the OP's requirements. xD I was starting to think my mails weren't getting through the list, maybe its nothing else than only a bigger delay than the usual. A

Re: [PHP] Merry Christmas!

2006-12-25 Thread Miles Thompson
At 07:20 AM 12/25/2006, Robert Cummings wrote: WhoooOO! Hope you all have a great Christmas day. If you don't celebrate Christmas, then I hope you have a great Christmas day anyways *lol*. If this post offends you due to it's promotion of Christmas then I apologize and hope y

[PHP] array_intersect problem

2006-12-25 Thread Leo Liu
Hi, I try to intersect associative array and it seems to fail to do so. Can anyone show me a walk around? For example I have array1 Array ( [0] => Array ( [imageID] => 1 ) [1] => Array ( [imageID] => 2 )

Re: [PHP] Merry Christmas!

2006-12-25 Thread Craige Leeder
Merry Christmas everyone. I hope you have/had a great one. Enjoy your turkey feasts this weekend, they comes only a few times a year. On 12/25/06, Miles Thompson <[EMAIL PROTECTED]> wrote: At 07:20 AM 12/25/2006, Robert Cummings wrote: >WhoooOO! Hope you all have a great Chr

[PHP] Couple Problem.

2006-12-25 Thread Craige Leeder
PHP General Mailing List, I have a few questions when it comes to installation of PHP, and a PHP extension I have been eyeing The first question involves Installation of PHP-GTK with PHP 5, from zip. Although I follow the simple instructions included in the zip,

Re: [PHP] array_intersect problem

2006-12-25 Thread Martin Alterisio
2006/12/25, Leo Liu <[EMAIL PROTECTED]>: Hi, I try to intersect associative array and it seems to fail to do so. Can anyone show me a walk around? For example I have array1 Array ( [0] => Array ( [imageID] => 1 ) [1] => Array (

[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