Grrrrrrrrrrrrrrrrrrrrrrrrrrr, ok nothing seems to work everything I put in there gives me the same error.<br><br>This is what I have now.<br><br>global $user;<br>return array(0 => array('uid' => $user=>uid));
<br><br><div><span class="gmail_quote">On 11/1/07, <b class="gmail_sendername">Earnie Boyd</b> <<a href="mailto:earnie@users.sourceforge.net">earnie@users.sourceforge.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Quoting Chris McCreery <<a href="mailto:chris.mccreery@gmail.com">chris.mccreery@gmail.com</a>>:<br><br>> Thanks but still no luck just that same error. Since I'm just trying to<br>> specify the default for this field and it is already getting the possible
<br>> users to reference am I just trying to specify the default value? If so then<br>> do I need to run a query or just tell Drupal which uid I'd like to use?<br>> Would the following work? ( it doesn't but that just might be my syntax.
<br>><br>> global $user<br>> return array(<br>> 0 => array('uid' => $user=>uid)<br>> );<br>><br><br>Yes, based on what you've said. You need a ; after global $user.<br>Maybe you don't need to global $user; at all. Or you can ``$user =
<br>$GLOBALS['user'];''.<br><br>Earnie -- <a href="http://for-my-kids.com/">http://for-my-kids.com/</a><br>-- <a href="http://give-me-an-offer.com/">http://give-me-an-offer.com/</a><br><br>--<br>[ Drupal support list |
<a href="http://lists.drupal.org/">http://lists.drupal.org/</a> ]<br></blockquote></div><br><br clear="all"><br>-- <br>Chris McCreery