Re: [PHP] Decode Encoded text in phpMyAdmin

2002-02-14 Thread Toni Kustiana


porting base64 encode/decode module on Perl to php.
http://www.cpan.org
  David [EMAIL PROTECTED] wrote: Hello,
How can I decode encoded text/numbers in my phpMyAdmin? I looked at
BASE64, but thats not it. Any help is great. Thanks

Example: 8e73b27568cb3be29e2da74d42eab6dd
--
- Dave
Visit http://www.geocities.com/earthtohorny for info on Computers and
Upgrading.




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



-
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!


Re: [PHP] Sorting an array of arrays....

2002-02-14 Thread Toni Kustiana


try to add to your script:
 
function cmp ($a, $b) {
return strcmp($a[3],$b[3]);
}
usort($data, cmp);
  Fifield, Mike [EMAIL PROTECTED] wrote: What I am trying to do is sort a 
array of arrays but I want to sort by one
of the pieces of data stored in the arrays inside the array. For example;
$data[blue] = array(name, age, time, 3);
$data[green] = array(name, age, time, 7);
$data[red] = array(name, age, time, 6);
$data[yellow] = array(name, age, time, 2);
$data[white] = array(name, age, time, 1);
$data[black] = array(name, age, time, 9);

I want to be able to sort this array of arrays by the very last element, the
numbers. 

Mike Fifield
Charles Schwab  Co, Inc.
WARNING: All e-mail sent to or from this address will be received by the
Charles Schwab corporate e-mail system and is subject to archival and review
by someone other than the recipient.



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



-
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!