by Anonymous » Today, 03:07
Wenn ich meine Variable < /p>
ablassevar_dump($search_results_returned['post_q_2_full']);
< /code>
Das Folgende wird gedruckt: < /p>
array(1) {
[0]=> array(7) {
["user_id"]=> string(2) "15"
["user_name"]=> string(12) "Steve Smith"
["user_username"]=> string(8) "sjcallan"
["user_image_filename"]=> string(16) "xhewimg_15.jpeg"
["user_first_name"]=> string(5) "Steve"
["user_last_name"]=> string(6) "Smith"
["user_email"]=> string(18) "
[email protected]"
}
}
< /code>
Wenn ich es versuche < /p>
foreach ($post_q_2_full as $post2) { // line 48
echo $post2['user_first_name'];
}
< /code>
Ich erhalte den folgenden Fehler: < /h1>
Meldung: Undefinierte Variable: post_q_2_full < /p>
Dateiname: _account /Search.php < /p>
LINE NUMPLE: 48 < /P>
LINE NUMMER: 48 < /p>
LINE NUMMER: 48 < /PL>
LINE NUMMER: 48 < /p>
LINE NUMMER: 48 < /p>
LINE NUMMER: 48 < /P. />And the following error message is thrown at my face as well:
Message: Invalid argument supplied for foreach()
Filename: _account/search.php
Line Number: 48
I will appreciate any eventual Hilfe. < /p>
Grüße, Zoran < /p>
Wenn ich meine Variable < /p>
ablassevar_dump($search_results_returned['post_q_2_full']);
< /code>
Das Folgende wird gedruckt: < /p>
array(1) {
[0]=> array(7) {
["user_id"]=> string(2) "15"
["user_name"]=> string(12) "Steve Smith"
["user_username"]=> string(8) "sjcallan"
["user_image_filename"]=> string(16) "xhewimg_15.jpeg"
["user_first_name"]=> string(5) "Steve"
["user_last_name"]=> string(6) "Smith"
["user_email"]=> string(18) "
[email protected]"
}
}
< /code>
Wenn ich es versuche < /p>
foreach ($post_q_2_full as $post2) { // line 48
echo $post2['user_first_name'];
}
< /code>
Ich erhalte den folgenden Fehler: < /h1>
Meldung: Undefinierte Variable: post_q_2_full < /p>
Dateiname: _account /Search.php < /p>
LINE NUMPLE: 48 < /P>
LINE NUMMER: 48 < /p>
LINE NUMMER: 48 < /PL>
LINE NUMMER: 48 < /p>
LINE NUMMER: 48 < /p>
LINE NUMMER: 48 < /P. />And the following error message is thrown at my face as well:
Message: Invalid argument supplied for foreach()
Filename: _account/search.php
Line Number: 48
I will appreciate any eventual Hilfe. < /p>
Grüße, Zoran < /p>