在远程php页面上调用各个函数 [英] calling individual functions on a remote php page

查看:90
本文介绍了在远程php页面上调用各个函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨所有


i我正在建立一个小型的私立学校管理程序,我使用了很多相同的循环,更新语句和诸如此类的东西,我想把它们全部放到一个php中文件分为各自的功能。我只是想知道是否可以在远程php页面上调用单个函数。


感谢

eric

解决方案

当然你可以,


在单独的页面上创建所有功能,即function.php


那么当然你在那个页面列出你的功能

展开 | 选择 | Wrap | 行号


很酷的非常感谢


eric


小修正:以便使用此命令[ph P]

hi all

i am building a small private school management program and i use alot of the same loops, update statements, and whatnot and i would like to put them all into one php file divided into their own functions. i was just wondering if it is possible to call an individual function on a remote php page.

thanks
eric

解决方案

Of course you can,

Create all of the functions on a separate page ie function.php

then of course you list your functions on that page

Expand|Select|Wrap|Line Numbers


cool awesome thanks

eric


Small correction: in order to use this command[php]


这篇关于在远程php页面上调用各个函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆