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