Bu arada belirttiðiniz hatanýn dönmesine neden olan bir bug varmýþ.
http://bugs.php.net/bug.php?id=42548
Sizin php sürümünüzde olmamasý lazým ama gene de bir bakýn.
05 Mayýs 2009 Salý 20:45 tarihinde Emre Kadýoðlu <kadiogluemre_at_gmail.com>yazdý:
> Merhaba Php ile mysql den bir stored procedure çalýþtýrmak istiyorum fakat
> þu hatayý alýyorum.
>
> PROCEDURE test.testsp can't return a result set in the given context
>
> php versiyonum 5.2.6 debian lenny kullanýyorum.
> çalýþtýrmaya çalýþtýðým kodda aþaðýda, stored procedure u silip sql querry
> olarak gönderdiðimde ise çalýþýyor.
>
> <?php
>
>
> $dbhost = "localhost"; $dbkullanici = "root"; $dbsifre = "1";
> $dbadi = "test";
> $baglan = mysql_connect($dbhost,$dbkullanici,$dbsifre);
> if(!$baglan)
> { ('MYSQL Baðlanamýyor..!!');} else
> { ('MYSQL baðlantýsý kuruldu...'); }
> mysql_select_db($dbadi,$baglan) or die ("veri tabanýna baðlanamýyor");
> ?>
> <?php
> $sor = mysql_query("call testsp") or die( mysql_error() );
> ?>
>
> _______________________________________________
> Linux-programlama mailing list
> Linux-programlama_at_liste.linux.org.tr
> http://liste.linux.org.tr/mailman/listinfo/linux-programlama
>
>
-- Anýl Özselgin
_______________________________________________
Linux-programlama mailing list
Linux-programlama_at_liste.linux.org.tr
http://liste.linux.org.tr/mailman/listinfo/linux-programlama
Received on Wed 06 May 2009 - 08:32:38 EEST