![]()
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
Received on Tue 05 May 2009 - 19:22:35 EEST
![]()