开发者

Is it possible to call a PHP file from within a stored procedure?

I am working on a private PHP project to teach myself new stuff. One of开发者_如何学C the things I am learning with the project are MySQL stored procedures. I have a working news module, which does not yet support automatic RSS-Feed generation.

While programming that part, I was wondering if you can execute a PHP file from within a stored procedure. The reasoning is that I would not need to worry about when to update the XML-File, kind of like a TIMESTAMP field with ON UPDATE CURRENT_TIMESTAMP

So, can you execute a script from within a stored procedure?


No you can't do that.

MySQL doesn't know how to handle PHP scripts.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜