function getApiUrl($mobile, $sender, $message)
{
$query = mysql_query("SELECT * FROM sms_api WHERE status='true' and api_id='1' ");
$row = mysql_fetch_object($query);
$apiy = $row->url;
$result = $apiy;
return $result;
}
假设返回网址= mydomain.com/page?userid=xxxx&pass=xxxx&mob=&sender=&message =
在调用此网址php之后称为完全返回网址
但是我们需要= php代码格式/替换它并设置“。$ mobile”。
答案 0 :(得分:-1)
函数getApiUrl($ mobile,$ sender,$ message) { $ query = mysql_query(“ SELECT * FROM sms_api WHERE status ='true'and api_id ='1'”); $ row = mysql_fetch_object($ query); $ apiy = $ row-> url; $ mobile = $ apiy; getApiUrl($ mobile,$ sender,$ message); }