Sina Cloud Platform, the core code for
$answer = $answer. $small [' address '];
$CONTENTSTR = "You are querying: \ n". $keyword. "";
Where $answer is the address field of the record to be queried, the content is the URL, $keyword for the fans to send the keyword, run OK, as follows:
You are inquiring about:
Bees
(Blue content is a link to link to the URL referred to by $answer)
Now you want to change $keyword to another field in the record with the following code:
$answer = $answer. $small [' address '];
$findname = $answer. $small [' name '];
$CONTENTSTR = "You are querying: \ n". $findname. "";
Running the $answer and $findname content together as a link, the results are as follows:
You are inquiring about:
http://mp.weixin.qq.com/s?__biz=MzI1ODAxNTk1Mg==&mid=210395152&idx=1&sn= 17F6F6FD7BF7776A7572B6429652358C&SCENE=5&SRCID=NXHAHCQKVFTEO1B94RVR#RD Italian Bee
(Blue content is a link to link to the URL referred to by $answer)
I hope not to display the URL, the result is:
You are inquiring about:
Italian bees
(Blue content is a link to link to the URL referred to by $answer)
I would like to ask you large, automatic reply to the content can not use two field variables? Or is it some other reason? Thank you
Reply to discussion (solution)
After their own groping Baidu, has been resolved, the reason is that more than one variable connection, resulting in a link address error, the code should be as follows:
$answer = $small [' Address '];
$CONTENTSTR = "You are querying: \ n". $keyword. "";
And
$answer = $small [' Address '];
$findname = $small [' name '];
$CONTENTSTR = "You are querying: \ n". $findname. "";
Thank you!