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() );
?>
begin:vcard
fn;quoted-printable:Emre Kad=C4=B1o=C4=9Flu
n;quoted-printable:Kad=C4=B1o=C4=9Flu;Emre
email;internet:[email protected]
tel;work:0 212 607 27 65
tel;cell:0 532 427 56 72
x-mozilla-html:TRUE
version:2.1
end:vcard
_______________________________________________
Linux-programlama mailing list
[email protected]
http://liste.linux.org.tr/mailman/listinfo/linux-programlama