Re: [PHP] Retrieving function values

2010-11-15 Thread Richard Quadling
On 15 November 2010 03:12, Ron Piggott ron.pigg...@actsministries.org wrote: I am writing a custom function and I need to be able to retrieve 3 values from it. string_parse_tool ( $string_to_parse ) The 3 variables I need to retrieve from the function are: $string_to_parse

[PHP] Switch Question...

2010-11-15 Thread Steve Staples
Ok, dumb question, and i have tested, but I want to ensure that my tests were accurate, and behavior is correct. Ok, i have an integer, that based on what it is, does certain things... switch ((int)$intval) { } now, if i need to do something on a few of the numbers, then: case 0:

Re: [PHP] Switch Question...

2010-11-15 Thread Ashley Sheridan
On Mon, 2010-11-15 at 16:27 -0500, Steve Staples wrote: Ok, dumb question, and i have tested, but I want to ensure that my tests were accurate, and behavior is correct. Ok, i have an integer, that based on what it is, does certain things... switch ((int)$intval) { } now, if i need to

Re: [PHP] Switch Question...

2010-11-15 Thread Steve Staples
On Mon, 2010-11-15 at 22:43 +, Ashley Sheridan wrote: On Mon, 2010-11-15 at 16:27 -0500, Steve Staples wrote: Ok, dumb question, and i have tested, but I want to ensure that my tests were accurate, and behavior is correct. Ok, i have an integer, that based on what it is, does

RE: [PHP] PHP loop to issue sql insert

2010-11-15 Thread admin
Example: $simple = select count(*) as count, searchkeywords from searchtable group by searchkeywords order by count desc; $stuff = mysql_query($simple); If(mysql_num_rows($stuff) = 1) { While($toarray = mysql_fetch_assoc($stuff)) { $doit = mysql_query(INSERT INTO mytable

[PHP] Is it possible to install PHP on IIS?

2010-11-15 Thread Himani Aggarwal
Hi Folks, is it possible to install PHP on IIS? If yes, can someone please guide me on how to go about doing it? Thanks

Re: [PHP] Is it possible to install PHP on IIS?

2010-11-15 Thread Aman Singh
Himani, See http://blogs.iis.net/bills/archive/2006/09/19/how-to-install-php-on-iis7-_2800_rc1_2900_.aspx?WT.mc_id=soc-c-in-loc--cfp. Also, see http://blogs.iis.net/donraman/archive/2009/10/07/installing-php-on-windows.aspx?WT.mc_id=soc-c-in-loc--cfp On Tue, Nov 16, 2010 at 12:16 PM, Himani