<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gravity Support Forums Topic: User Meta info</title>
		<link>https://legacy.forums.gravityhelp.com/topic/user-meta-info</link>
		<description>Gravity Support Forums Topic: User Meta info</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 15:05:44 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/user-meta-info" rel="self" type="application/rss+xml" />

		<item>
			<title>honeycombdesign on "User Meta info"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/user-meta-info#post-282599</link>
			<pubDate>Tue, 28 May 2013 04:57:13 +0000</pubDate>
			<dc:creator>honeycombdesign</dc:creator>
			<guid isPermaLink="false">282599@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I tired that&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;$i_am = explode(&#38;quot;,&#38;quot;, $who_i_am[0]);
		     	echo&#38;#39;	&#38;lt;li&#38;gt;&#38;#39;. $i_am .&#38;#39;&#38;gt;&#38;lt;/li&#38;gt;&#38;#39;;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;This is how I am getting the user meta&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$who_i_am = get_user_meta ($user_id,&#38;quot;who_i_am&#38;quot;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;All I get is an output that says &#34;Array&#34;.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "User Meta info"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/user-meta-info#post-281679</link>
			<pubDate>Mon, 27 May 2013 22:01:12 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">281679@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I am no expert PHP programmer, but shouldn't it be:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;$i_am = explode(&#38;quot;,&#38;quot;, $who_i_am[0]);&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>honeycombdesign on "User Meta info"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/user-meta-info#post-281638</link>
			<pubDate>Mon, 27 May 2013 21:31:39 +0000</pubDate>
			<dc:creator>honeycombdesign</dc:creator>
			<guid isPermaLink="false">281638@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Another trouble I am encountering is:&#60;br /&#62;
Do you know how I can split this?&#60;/p&#62;
&#60;p&#62;the entry in the user meta is&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[who_i_am] =&#38;gt; Array ( [0] =&#38;gt; I home educate my children or someone else’s (registered or enrolled),I run a business that benefits home education families and I would like to list it in the Member Directory and Service Guide )&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;tried this but it is not working&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;$i_am = explode(&#38;quot;,&#38;quot;, $who_i_am);
		     	?&#38;gt;
		     	   	&#38;lt;li&#38;gt;&#38;lt;?php echo $i_am; ?&#38;gt;&#38;lt;/li&#38;gt;
		     	&#38;lt;?php&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I would like the output to be separate lines.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>honeycombdesign on "User Meta info"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/user-meta-info#post-281391</link>
			<pubDate>Mon, 27 May 2013 18:41:18 +0000</pubDate>
			<dc:creator>honeycombdesign</dc:creator>
			<guid isPermaLink="false">281391@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks that really helped.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "User Meta info"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/user-meta-info#post-281005</link>
			<pubDate>Mon, 27 May 2013 12:19:56 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">281005@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;What you have is a serialized array, and you'll have to unserialize it before you can use it properly. Have a look at the following PHP.net information page - &#60;a href=&#34;http://php.net/manual/en/function.unserialize.php&#34; rel=&#34;nofollow&#34;&#62;http://php.net/manual/en/function.unserialize.php&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>honeycombdesign on "User Meta info"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/user-meta-info#post-279221</link>
			<pubDate>Sun, 26 May 2013 23:17:28 +0000</pubDate>
			<dc:creator>honeycombdesign</dc:creator>
			<guid isPermaLink="false">279221@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have a form where user can list their children and their age in a 2 column list.&#60;/p&#62;
&#60;p&#62;Name &#124; Age&#60;/p&#62;
&#60;p&#62;I use the list un advance fields.&#60;/p&#62;
&#60;p&#62;Now once these are entered in to a User Meta Field called our_children.&#60;/p&#62;
&#60;p&#62;When I try to retrieve the data I see something like this:&#60;br /&#62;
&#60;code&#62;a:1:{i:0;a:2:{s:4:&#38;quot;Name&#38;quot;;s:6:&#38;quot;Elisha&#38;quot;;s:3:&#38;quot;Age&#38;quot;;s:2:&#38;quot;13&#38;quot;;}}&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;I call the field using:&#60;br /&#62;
&#60;code&#62;$our_children = get_user_meta ($user_id,&#38;quot;our_children&#38;quot;);&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;How can I display this value so that I can get the name and age of children again.&#60;/p&#62;
&#60;p&#62;I have tried:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;foreach ( $our_children as $children ) {
echo &#38;#39;&#38;lt;tr&#38;gt;&#38;lt;td&#38;gt;&#38;#39;. $our_children -&#38;gt; Name .&#38;#39;&#38;lt;/td&#38;gt;&#38;lt;td&#38;gt;&#38;#39;. $children -&#38;gt; Age .&#38;#39;&#38;lt;/td&#38;gt;&#38;lt;/tr&#38;gt;&#38;#39;;
	    }&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;but it doesn't show anything.&#60;/p&#62;
&#60;p&#62;Thanks for your help.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
