首 页
·
站长博客
·
用户注册
·
会员登陆
·
会员排行
·
最新主题
·
最近回复
☆
精华区
版权声明
·
论坛管理
当前登录身份:游客,请先登录。 笔名:
口令:
验证码:
楼 主
index
»
MYSQL/SQL语句/PHPMYADMIN专栏
»
php调用MYSQL存储过程和函数问题
作者:
coolboy0316
注册时间:2008-03-11
主题/回复:19/44
积分:
367
等级:★★(四级)
称号:崭露头角
sgjjt@163.com
547898608
coolboy0316.5d6d.com
发表:2008-11-14 11:58:16 阅读
2685
次 回复
3
次 得分
2
|
字号
10px
12px
14px
16px
18px
20px
24px
字色
▅▅▅▅▅
▅▅▅▅▅
▅▅▅▅▅
▅▅▅▅▅
▅▅▅▅▅
▅▅▅▅▅
php调用MYSQL存储过程和函数问题
我想问一下,PHP如何调用MYSQL存储过程和函数,如果函数有返回值,怎么接受?
还有就是这个%s是什么意思?
printf ("find table: %s \n", $row[0]);
还有%d是什么意思?
1#楼
回复人:
一起PHP
注册时间:2004-02-27
主题/回复:
247/1521
积分:
4649
等级:★★★★★☆(十一级)
称号:论坛圣人
1#楼
发表于
2008-11-17 10:34:30
评分:
1
回复给楼主(coolboy0316)
这是C语言的写法,用echo ,print 都很方便的。
存储过程MYSQL5才开始支持,我本人没有用过,可以去查查。如果找到答案欢迎分享。
2#楼
回复人:
coolboy0316
注册时间:2008-03-11
主题/回复:
19/44
积分:
367
等级:★★(四级)
称号:崭露头角
2#楼
发表于
2008-11-17 18:42:16
评分:
×
回复给楼主(coolboy0316)
呵呵,聂老师,我已经找到了.
$query="seleft function(变量)";
$result=$conn->query($query);
$rows=mysqli_fetch_row($result);
然后就直接可以从$rows
中获取你所想要的值了!
如果有什么不懂可以EMAIL:sgjjt@163.com我
3#楼
回复人:
annliu
注册时间:2009-10-22
主题/回复:
0/3
积分:
26
等级:★(二级)
称号:初出茅庐
用户联系方式已设置为保密
3#楼
发表于
2009-10-22 11:03:44
评分:
1
回复给楼主(coolboy0316)
[*]
MySQL Tutorial ebook free download
[*]
MySQL Cookbook ebook free download
[*]
MySQL in a Nutshell ebook free download
[*]
MySQL and mSQL ebook free download
[*]
Expert MySQL ebook free download
[*]
MySQL Administrator's Guide ebook free download
[*]
Mastering MySQL 4 ebook free download
[*]
MySQL Pocket Reference ebook free download
[*]
MySQL Crash Course ebook free download
[*]
High Performance MySQL ebook free download
[*]
MySQL and PHP from Scratch ebook free download
[*]
MySQL, Second Edition ebook free download
[*]
MySQL: Essential Skills ebook free download
[*]
Understanding MySQL Internals ebook free download
[*]
PHP5 and MySQL Bible ebook free download
[*]
Learning PHP and MySQL ebook free download
[*]
MySQL Certification Study Guide ebook free download
[*]
MySQL Stored Procedure Programming ebook free download
[*]
PHP and MySQL Web Development ebook free download
[*]
MySQL Database Design and Tuning ebook free download
[*]
MySQL Cookbook, 2nd Edition ebook free download
[*]
The Definitive Guide to MySQL, Second Edition ebook free download
[*]
MySQL Phrasebook: Essential Code and Commands ebook free download
[*]
Managing and Using MySQL, 2nd Edition ebook free download
[*]
Sams Teach Yourself MySQL in 10 Minutes ebook free download
[*]
MySQL 5.0 Certification Study Guide ebook free download
[*]
Web Database Applications with PHP & MySQL ebook free download
[*]
Sams Teach Yourself PHP, MySQL and Apache All in One ebook free download
[*]
Mysql Pocket Reference SECOND EDITION ebook free download
[*]
Mysql Enterprise Solutions Alexander “Sasha” Pachev ebook free download
[*]
The Definitive Guide to MySQL 5, Third Edition ebook free download
[*]
Learning PHP and MySQL, Second Edition ebook free download
[*]
Mastering phpMyAdmin 2.11 for Effective MySQL Management ebook free download
[*]
MySQL and Java Developer’s Guide ebook free download
[*]
Mysql Administrator's Guide and dLanguage Reference ebook free download
[*]
PHP and MySQL For Dummies, 2nd Edition ebook free download
页数
1/1
:
首页
«
1
»
末页
发表回复:您还没有登陆,无法发表回复。请先
[登陆]
一起PHP技术联盟 主办:一起PHP 联系方式:站长QQ:4304410 QQ群:8423742 20159565
站长博客
E-mail:
nqp@nqp.me
执行时间:0.02sec
SimsmaBBS 2008 (v6.0)
Developed by
17php.com
,Copyright(C)2003-2010 All rights reserved. 副本授权:
一起PHP官方专用版