Saturday, 8 July 2017

PHP array replace Function







SOURCE CODE





<?php



//The array_replace() function replaces the elements of the

//first array with the elements from following arrays.



$arrone = array("aston martin", "ferrari");

$arrtwo = array("landrover discovery", "Toyota");



$arrreplace = array_replace($arrone, $arrtwo);



echo "<pre>";

print_r($arrreplace);

echo "</pre>";



?>

No comments:

Post a Comment

(3) Java Gui App & Mysql Jdbc Netbeans - How To Set Full Screen Mode Of ...

How To Set Full Screen Mode Of Jframe App - How To Start A Jframe In Maximized Mode 1. Start Netbeans Ide. 2. Create New Jframe Project...