php'de değişken aktarma
gönderen: turgut | kategori: php | tarih: 14.7.09
ad ve soyad adlı iki değişkene değer atama aşağıdaki gibi gerçekleştirilir:
<html>
<head>
<meta http-equiv="Content-Language"content="tr">
<meta http-equiv="Content-Type"content="text/html charset=windows,1254">
<title> değişken aktarma </title>
<body>
<?php
/* değişkenleri tanımlayalım*/
$ad="Rasmus";
$soyad="Lerdorf";
/* değişkenleri sayfaya yazdıralım*/
echo "Adım:$ad,Soyadım:$soyad<br>";
echo 'Adım:$ad,Soyadım:$soyad<br>';
/*tek tırnak ile çift tırnak arasındaki farkı görüntülemede görebilirsiniz.*/
?>
</body>
</html>
This entry was posted on 14.7.09 at 02:44 and is filed under php. You can follow any responses to this entry through the RSS 2.0. You can leave a response.
- Henüz yorum yok.







