Ask a Question related to PHP Development, Design and Development.
-
tlhingan1 #1
seeking help building a function
hey folks, thanks for checking in.
Im new to PHP, Im looking for help on building a relatively simple
function while not re-inventing the wheel. I've heard PHP probably has
whatever function i can think of built-in, it's just a matter of piecing
it together the right way.
Simplest statement of the problem:
I want to build a function which accepts an array and returns the index
of the maximum valued element if it is distinct, otherwise it returns
something simple like 'N' (i.e. if there are two or more max elements,
returns 'N'; only one, returns its index)
The elements must retain their index, ala asort(). standard sort() would
loose the key/value pairing, so i don t think i can use it.
any help would be appreciated folks!
--
Sincerely,
-R
-------
"A Conscience is what hurts when everything else feels so good."
tlhingan1 Guest
-
Seeking a programmer
Hello. I need to develop a multiuser application using sliders. The application is designed and ready to be implemented. Is there a programmer here... -
Building a Complex Search Function: Dreamweaver MX 2004and ASP.NET
I need a build a complex search function in DW 2004 and ASP.NET (C#) that allows for rich boolean searching against an MS Access 2002 database. I... -
seeking help part 2
How do i move an object to from one box to another like example when i get the dice roll move six places on board game like lido . and how ... -
Seeking solutions
Kam, What Colin is saying is, in order to save as BMP, File|Save As, then choose BMP as the file type. But the question was, from Colin, why in... -
To All Those Seeking XML & PHP Wisdom!
Found a brand new tutorial... just came out today... http://www.sitepoint.com/article/1165 Joe Harman Have you ever noticed? Anybody going...



Reply With Quote

