Hello ppl,

I was trying to do something with an array...I guess you could see what I mean from the code below:


$test[0] = "hey";
$test[1] = "hi";
$test[2] = "hello";

Now I want to hold various values in $test[0]["hey"] = "1" and $test[1]["hi"] = "2" and $test[2]["hello"] = "3"
and then I want to use the function let's say in_array("hey", $test) and if it's found in the array I want to update the value in that array from 1 to 1+1 or anything...

All of the above would be done dynamically from database, the above is just to get the Logic..I hope it's possible...I am keeping my fingers crossed...

Thank You
Best Regards,
Dhaval


_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to