[Linux-programlama] PHP 'de değişken problemim ?

---------

New Message Reply About this list Date view Thread view Subject view Author view Attachment view

From: Ahmet ERDOGAN (ahmet@orumcekyazilim.com)
Date: Mon 17 Jan 2005 - 19:49:54 EET


Merhabalar

 + index.php
  |
  |-- anasayfa.php
  |
  |-- diger.php
  .....

ben index.php dosyanının içine anayafa.php dosyasını include ederek kullanıyorum.
ve yine bazı şartlar doğrultusunda diger.php dosyasını include ediyorum.

index'e include ederken sayfayı değişkenle açtırıyorum...

Örnek :

<?php

    // Diğer sayfayı index.php'ye gönderme link'i

    printf("<a href=\"index.php?sayfa=%s\"> %s"."</a>","diger.php", "Diğer Sayfa");

    // diğer sayfa ismini değişkenden alan index.php tablonun içinde bu dosyayı açıyor.......
?>

anasayfa.php 'den => diger.php dosyasına get veya post metodu ile değer aktaramıyorum
digere değeri alırken $_GET['$değişken']; $_POST['$değişken']; yöntemlerini denedim olmadı... :(

aceba nerede hata yapıyorum ?

_______________________________________________
Linux-programlama mailing list
Linux-programlama@liste.linux.org.tr
http://liste.linux.org.tr/mailman/listinfo/linux-programlama


New Message Reply About this list Date view Thread view Subject view Author view Attachment view

---------

Bu arsiv hypermail 2.1.2 tarafindan uretilmistir.