質問編集履歴
2
コード修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -9,8 +9,7 @@
|
|
9
9
|
|
10
10
|
■現在調査途中のコード
|
11
11
|
```html
|
12
|
-
<?php $profile_text= xprofile_get_field_data('血液型' ,bp_get_member_user_id()); ?>
|
13
|
-
|
12
|
+
<a href="<?php echo "https://hoge.hogehoge.com/hogehogehoge/?members_search=" . xprofile_get_field_data('血液型' ,bp_get_member_user_id());?>">同じ血液型を探す</a>
|
14
13
|
```
|
15
14
|
|
16
15
|
初歩的な質問ですみませんが、よろしくお願い致します。
|
1
サンプルコードの修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -8,8 +8,9 @@
|
|
8
8
|
プロフィール「血液型」を取得する関数xprofile_get_field_data()の返り値を、リンク先に含めるにはどのように記述すべきでしょうか。
|
9
9
|
|
10
10
|
■現在調査途中のコード
|
11
|
+
```html
|
11
12
|
<?php $profile_text= xprofile_get_field_data('血液型' ,bp_get_member_user_id()); ?>
|
12
|
-
|
13
|
+
echo "<a href="https://hogehoge.com/member/?members_search=' . <?php $profile_text ?> . '">'.同じ血液型を探す.'</a>';
|
13
|
-
|
14
|
+
```
|
14
15
|
|
15
16
|
初歩的な質問ですみませんが、よろしくお願い致します。
|