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

2006-12-26 Thread Peter Lauri
ST['mysql'])) { //do whatever you want with the //$_POST['mysql'] variable and output the results //the you want to be shown in the div with id resultsdiv } -- Best regards, Peter Lauri -Original Message- From: Aras [mailto:[EMAIL PROTECTED]

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

2006-12-26 Thread Aras
, December 24, 2006 6:34 PM To: php-general@lists.php.net Subject: [PHP] calling a function in the same page 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

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

2006-12-26 Thread Ryan Fielding
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

[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 Peter Lauri
to use JS library that you can do "AJAX" requests with and then do what you want with by DOM. /Peter -Original Message- From: Jahangir [mailto:[EMAIL PROTECTED] Sent: Sunday, December 24, 2006 5:34 PM To: php-general@lists.php.net Subject: [PHP] calling a function in the same page

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

[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] Calling a function from the parent class

2005-03-15 Thread Eli
Hi, func(); //echo: B ?> How can I call func() of class A from $cls object (that when I call func() it will echo "A" and not "B")? Changing functions names or declaring another function in class B that will call parent::func() are not good for me. -thanks, Eli -- PHP General Mailing List (http

[PHP] Calling a function at a certain time of day.

2004-07-30 Thread Angelo Zanetti
HI, Im slightly in the dark as to do the following. What I need is a thread of some sort that runs and when the time is midnight, it automatically calls a script that does something. Can anyone point me in the right direction as to where to start. Thanks Angelo --

Re[2]: [PHP] Calling a function.

2003-09-12 Thread Tom Rogers
Hi, Saturday, September 13, 2003, 5:39:47 AM, you wrote: CJWH> From: "Jason Wong" <[EMAIL PROTECTED]> >> On Saturday 13 September 2003 01:40, CPT John W. Holmes wrote: >> > From: "Vincent M." <[EMAIL PROTECTED]> >> > >> > > Is there any way to call a function with a variable inside the call. CJWH

Re: [PHP] Calling a function.

2003-09-12 Thread CPT John W. Holmes
From: "Jason Wong" <[EMAIL PROTECTED]> > On Saturday 13 September 2003 01:40, CPT John W. Holmes wrote: > > From: "Vincent M." <[EMAIL PROTECTED]> > > > > > Is there any way to call a function with a variable inside the call. ie: > > > > > > if($preferences != "") { > > > dis_display$$pr

Re: [PHP] Calling a function.

2003-09-12 Thread Jason Wong
On Saturday 13 September 2003 01:40, CPT John W. Holmes wrote: > From: "Vincent M." <[EMAIL PROTECTED]> > > > Is there any way to call a function with a variable inside the call. ie: > > > > if($preferences != "") { > > dis_display$$preferences() ; > > $functon = "dis_play$preferences"; >

Re: [PHP] Calling a function.

2003-09-12 Thread CPT John W. Holmes
From: "Vincent M." <[EMAIL PROTECTED]> > Is there any way to call a function with a variable inside the call. ie: > > if($preferences != "") { > dis_display$$preferences() ; $functon = "dis_play$preferences"; $function(); ---John Holmes... -- PHP General Mailing List (http://www.php.

[PHP] Calling a function.

2003-09-12 Thread Vincent M.
Hello, Is there any way to call a function with a variable inside the call. ie: if($preferences != "") { dis_display$$preferences() ; } If $preferences = "menus" this will call the function dis_displaymenus() Thanks, Vincent. -- PHP General Mailing List (http://www.php.net/) To unsubscr

[PHP] Calling a function without variable params

2002-07-26 Thread Mathieu Dumoulin
Ok, here i made a function that can accept an unknown number of params. In fact, it's a data interface for a mysql database, when i call the object's constructor it is in possibility to pass any number of table names from 1 to x. Now i got this other class called a data interfacer which sends a c

Re: [PHP] Calling a function that resides elsewhere

2001-04-11 Thread Gerry
I got it, I think: and this at the beginning of file "B" $selected == "$selected"; and placed this statement in file "A" if (isset($selected[$cat])) { include ("cat_select.php"); } I don't know why it works but it does, is there anything wrong with this method? Gerry wrote: > > I hope yo

[PHP] Calling a function that resides elsewhere

2001-04-11 Thread Gerry
I hope you understand: It is too long to include here so I'll give you an idea. file.B --- "; //-cats $cats = explode(',',$all_cats); //--values $cats_vals = explode(',',$all_cats); print html_options($cats, $cats_vals, $selected, "--Select one--"); echo""; ?> ---