php fonksiyon yazma

140 2 2
                                        

function yaz($a)
{
         echo $a;
}

yaz("deneme");

Ekran çıktısı => deneme

Yukarıdaki örnek çok basit ama mantığı tamamen bu şekilde sizde bu kodu notdefterine kopyalıyıp yapıştırın index.php uzantısı ile kaydetin, ama bu dosyayı normal html uzantılı dosyalar gibi çalıştıramazsınız, bunun için pc'nizde wamp server kurulu olaması yada internet üzerinden kullabileceğiniz bedava web hostinglerden yararlanabilirsiniz.

You've reached the end of published parts.

⏰ Last updated: Apr 23, 2017 ⏰

Add this story to your Library to get notified about new parts!

Html,Css ve Php Web Programlama GirişWhere stories live. Discover now