I have a CodeIgniter
function and inside it I have a PHP
function. I can't get this PHP
function to work. Please see the code below. The parameter of acmazdami($parameter)
function is an array. Maybe it is something to do with that. Can anyone help. Best Regards and thank you in advance...
public function pozisyon_tutma() {// CI function
function acmazdami($parametre){//PHP function inside the CI function
$dizi = array();
$dizi = $parametre;
print_r(array_values($dizi))."<br>";
echo "Tamamdır <br>";
}
The code that sends an array to the PHP function. It is also inside the same above mentioned CI function:
} else {
echo "... kontrol...<br>";
echo $aday_tas."<br> code has read until here";
acmazdami(array ($vezir_yerleri));
}
The code doesn't give any errors but I can't get the line
print_r(array_values($dizi))."<br>";
to work. Regards...