Jump to content

Stuck in function


retoto

Recommended Posts

you mean like that :S?

 

<?php

$array = array(0 => "bleu", 1 => "bleu", 2 => "ghgf", 3 => "gfhfgh");

for ($i=0;$i<=4;$i++) {

$keys = array_keys($array[$i], 'bleu');

echo $keys;

}

?>

 

Warning: array_keys() [function.array-search]: Wrong datatype for second argument in *********** on line 4

Link to comment
https://forums.phpfreaks.com/topic/76231-stuck-in-function/#findComment-385895
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.